Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Build error with presto 0.169 #215

Open
liugaopeng opened this issue Mar 21, 2017 · 7 comments
Open

Build error with presto 0.169 #215

liugaopeng opened this issue Mar 21, 2017 · 7 comments

Comments

@liugaopeng
Copy link

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,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,DataSize,long,DataSize,long,DataSize,long,List) 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!

@AhmedKamal
Copy link

AhmedKamal commented Mar 22, 2017

+1 same while trying it with .1666

@M2shad0w
Copy link

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

@liugaopeng
Copy link
Author

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

@AhmedKamal
Copy link

@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.

@ebuildy
Copy link

ebuildy commented Mar 24, 2017

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

Thanks you @M2shad0w for the link!

@liugaopeng
Copy link
Author

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

@ebuildy
Copy link

ebuildy commented Mar 28, 2017

Also, you can consider redash.io

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants