airpal icon indicating copy to clipboard operation
airpal copied to clipboard

Build error with presto 0.169

Open liugaopeng opened this issue 8 years ago • 7 comments

Hi guys,

After i execute the command ./gradlew -Dairpal.prestoVersion=0.169 clean shadowJar. The build is failed, below is the output: [10:14:23] Starting 'browserify'... [10:14:23] Bundling app.js... [10:14:23] Bundling plugin.js... [10:14:35] Bundled plugin.js in 12 s [10:14:41] Bundled app.js in 18 s [10:14:41] Finished 'browserify' after 18 s :compileJava /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/presto/Table.java:80: error: incompatible types: ConnectorId cannot be converted to String return new Table(input.getConnectorId(), input.getSchema(), input.getTable(), columns); ^ /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/presto/ClientSessionFactory.java:45: error: no suitable constructor found for ClientSession(URI,String,String,String,String,String,Locale,ImmutableMap<String,String>,,boolean,Duration) return new ClientSession(server.get(), ^ constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/presto/ClientSessionFactory.java:61: error: no suitable constructor found for ClientSession(URI,String,String,String,String,String,Locale,ImmutableMap<String,String>,,boolean,Duration) return new ClientSession(server.get(), ^ constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/presto/ClientSessionFactory.java:77: error: no suitable constructor found for ClientSession(URI,String,String,String,String,String,Locale,ImmutableMap<String,String>,,boolean,Duration) return new ClientSession(server.get(), ^ constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) constructor ClientSession.ClientSession(URI,String,String,String,String,String,String,Locale,Map<String,String>,Map<String,String>,String,boolean,Duration) is not applicable (actual and formal argument lists differ in length) /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/core/execution/Execution.java:305: error: no suitable constructor found for QueryStats(DateTime,,DateTime,DateTime,Duration,Duration,Duration,Duration,Duration,Duration,int,int,int,int,int,int,int,double,DataSize,DataSize,Duration,Duration,Duration,Duration,boolean,ImmutableSet<Object>,DataSize,int,DataSize,int,DataSize,int) return new QueryStats( ^ constructor QueryStats.QueryStats() is not applicable (actual and formal argument lists differ in length) constructor QueryStats.QueryStats(DateTime,DateTime,DateTime,DateTime,Duration,Duration,Duration,Duration,Duration,Duration,int,int,int,int,int,int,int,double,DataSize,DataSize,Duration,Duration,Duration,Duration,boolean,Set<BlockedReason>,DataSize,long,DataSize,long,DataSize,long,List<OperatorStats>) is not applicable (actual and formal argument lists differ in length) Note: /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/core/health/PrestoHealthCheck.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /usr/lib/airpal/airpal-master/src/main/java/com/airbnb/airpal/AirpalApplicationBase.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 5 errors :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

anyone can give me some help/tips?

thanks!

liugaopeng avatar Mar 21 '17 02:03 liugaopeng

+1 same while trying it with .1666

AhmedKamal avatar Mar 22 '17 09:03 AhmedKamal

推荐使用 https://github.com/wyukawa/yanagishima

M2shad0w avatar Mar 23 '17 05:03 M2shad0w

I'm not too familiar with the UI tools of presto. As far as I know the Yanagishima, seems it doesn't have the access control functionality which we need at this moment. But really thanks for your recommendation. @M2shad0w

liugaopeng avatar Mar 23 '17 05:03 liugaopeng

@liugaopeng as some guy mentioned in other comments, it seems that Airpal is no longer supported by Airbnb. They are mainly focusing on superset which is a tableau like data viz product that is able to connect to Presto of course. It is so active project and a lot of potential is anticipated.

AhmedKamal avatar Mar 23 '17 15:03 AhmedKamal

Using yanagishima with 0.161, works out of the box where Airpal not :/

Thanks you @M2shad0w for the link!

ebuildy avatar Mar 24 '17 18:03 ebuildy

@AhmedKamal Thanks for your information! I will try it out! Superset looks like a great tool~~~:)

liugaopeng avatar Mar 28 '17 09:03 liugaopeng

Also, you can consider redash.io

ebuildy avatar Mar 28 '17 19:03 ebuildy