-
-
Save mfirry/492a502fa4b1a4246bfe to your computer and use it in GitHub Desktop.
∙ ./gradlew -Dairpal.prestoVersion=0.96 clean shadowJar -Dairpal.useLocalNode 21:16 marco@mymachine | |
:cleanAssets UP-TO-DATE | |
:clean | |
:nodeSetup SKIPPED | |
:installAssets | |
:buildAssets | |
[21:18:03] Using gulpfile ~/playground/airpal/src/main/resources/assets/gulpfile.js | |
[21:18:03] Starting 'browserify'... | |
[21:18:03] Bundling app.js... | |
[21:18:03] Bundling plugin.js... | |
[21:18:03] gulp-notify: [Compile Error] not implemented | |
[21:18:03] gulp-notify: [Compile Error] not implemented | |
[21:18:03] Bundled app.js in 26 ms | |
[21:18:03] Bundled plugin.js in 27 ms | |
[21:18:03] Finished 'browserify' after 143 ms | |
:compileJava | |
warning: [options] bootstrap class path not set in conjunction with -source 1.7 | |
warning: Supported source version 'RELEASE_6' from annotation processor 'org.antlr.v4.runtime.misc.NullUsageProcessor' less than -source '1.7' | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airlift/http/client/OldJettyHttpClient.java:13: error: cannot find symbol | |
import io.airlift.http.client.AsyncHttpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: package io.airlift.http.client | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airlift/http/client/OldJettyHttpClient.java:66: error: cannot find symbol | |
implements AsyncHttpClient | |
^ | |
symbol: class AsyncHttpClient | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airlift/http/client/OldJettyHttpClient.java:227: error: cannot find symbol | |
public <T, E extends Exception> HttpResponseFuture<T> executeAsync(Request request, ResponseHandler<T, E> responseHandler) | |
^ | |
symbol: class HttpResponseFuture | |
location: class OldJettyHttpClient | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airlift/http/client/OldJettyHttpClient.java:381: error: cannot find symbol | |
implements HttpResponseFuture<T> | |
^ | |
symbol: class HttpResponseFuture | |
location: class OldJettyHttpClient | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/core/execution/InputReferenceExtractor.java:14: error: cannot find symbol | |
import com.facebook.presto.sql.tree.UseCollection; | |
^ | |
symbol: class UseCollection | |
location: package com.facebook.presto.sql.tree | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/core/execution/InputReferenceExtractor.java:113: error: cannot find symbol | |
protected CatalogSchemaContext visitUseCollection(UseCollection node, CatalogSchemaContext context) | |
^ | |
symbol: class UseCollection | |
location: class InputReferenceExtractor | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/core/execution/ExecutionClient.java:29: error: package org.jetbrains.annotations does not exist | |
import org.jetbrains.annotations.NotNull; | |
^ | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryRunner.java:6: error: cannot find symbol | |
import io.airlift.http.client.AsyncHttpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: package io.airlift.http.client | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryInfoClient.java:11: error: cannot find symbol | |
import io.airlift.http.client.AsyncHttpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: package io.airlift.http.client | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryRunner.java:19: error: cannot find symbol | |
private final AsyncHttpClient httpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryRunner | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryRunner.java:21: error: cannot find symbol | |
protected QueryRunner(ClientSession session, JsonCodec<QueryResults> queryResultsCodec, AsyncHttpClient httpClient) | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryRunner | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryRunner.java:42: error: cannot find symbol | |
private final AsyncHttpClient httpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryRunnerFactory | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryRunner.java:44: error: cannot find symbol | |
public QueryRunnerFactory(ClientSessionFactory sessionFactory, AsyncHttpClient httpClient) | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryRunnerFactory | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryInfoClient.java:39: error: cannot find symbol | |
private final AsyncHttpClient httpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryInfoClient | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/presto/QueryInfoClient.java:42: error: cannot find symbol | |
public QueryInfoClient(AsyncHttpClient httpClient, JsonCodec<BasicQueryInfo> queryInfoCodec) | |
^ | |
symbol: class AsyncHttpClient | |
location: class QueryInfoClient | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/modules/AirpalModule.java:54: error: cannot find symbol | |
import io.airlift.http.client.AsyncHttpClient; | |
^ | |
symbol: class AsyncHttpClient | |
location: package io.airlift.http.client | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/modules/AirpalModule.java:135: error: cannot find symbol | |
public AsyncHttpClient provideQueryRunnerHttpClient() | |
^ | |
symbol: class AsyncHttpClient | |
location: class AirpalModule | |
/Users/marco/playground/airpal/src/main/java/com/airbnb/airpal/modules/AirpalModule.java:171: error: cannot find symbol | |
@Named("query-runner-http-client") AsyncHttpClient httpClient) | |
^ | |
symbol: class AsyncHttpClient | |
location: class AirpalModule | |
18 errors | |
1 warning | |
:compileJava FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':compileJava'. | |
> Compilation failed; see the compiler error output for details. | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
Total time: 35.028 secs |
BTW... presto version 0.85 and got same result in output.
Same problem here. It ran before reinstalling OS X 10.9.5
got this error when running
$ ./gradlew -Dairpal.prestoVersion=0.97 clean shadowJar
No repository found at /home/warren/airpal-master , continuing with defaults.
:cleanAssets UP-TO-DATE
:clean UP-TO-DATE
:nodeSetup UP-TO-DATE
:installAssets
:buildAssets
TypeError: Cannot read property 'prototype' of undefined
at Object.exports.inherits (util.js:556:43)
at Object. (/home/warren/airpal-master/src/main/resources/assets/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy/index.js:108:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/warren/airpal-master/src/main/resources/assets/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy.js:4:17)
at Module._compile (module.js:456:26)
:buildAssets FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':buildAssets'.Process 'command '/home/warren/.gradle/nodejs/node-v0.10.33-linux-x64/bin/node'' finished with non-zero exit value 8
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.869 secs
@warrenca
That solved by: airbnb/airpal#111
Are you guys trying to build on java 8?
@susman Java 8 is needed since new versions of Presto is built on Java 8
Is there a workaround for this?
Hey @mfirry - I'm getting same compilation errors when trying to install, did you manage to resolve your issue? I'm using presto.version 0.98 (got past the node and npm version issues)