-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presto的hbase依赖目录只需要编译出来的那一个jar包么 #8
Comments
需要把connector依赖的jar包都放到plugin/hbase目录下 |
然而并不知道还依赖哪些jar。。 |
看一下worker有异常日志吗? |
知道啥问题了,zookeeper地址错了。。。打扰了 |
OK,那我先close了啊。再有问题再打开 |
你好,我运行mvn -U clean package之后报同样的错误。 |
我觉得这个问题应该是presto版本的问题,我是基于prestosql-315版本进行研发的,而我看你的日志应该是prestodb的,两者是不兼容的。如果你要基于prestodb来使用,可以考虑尝试dev_prestodb-0.221_0.1.2分支的代码。 |
嗯嗯。应该是版本不兼容的问题。我是使用dev_prestodb-0.221_0.1.2分支的代码生成的connector,但是prestodb-0.228比prestodb-0.221的ConnectorPageSource接口多了getCompletedPositions()这个函数,所以才会发生上述问题 |
忘记贴报错信息了
|
presto版本0.221,我将编译出来的jar包放入plugin/hbase目录下,配置好hbase相关信息后,运行show tables;是正常的,但是运行select的时候select name from demo;就报错
2019-06-28T17:59:05.865+0800 DEBUG query-execution-12 com.facebook.presto.execution.QueryStateMachine Query 20190628_095905_00002_x8g6u is FAILED
2019-06-28T17:59:05.865+0800 DEBUG Query-20190628_095905_00002_x8g6u-257 com.facebook.presto.execution.QueryStateMachine Query 20190628_095905_00002_x8g6u failed
java.lang.AbstractMethodError
at com.facebook.presto.split.SplitManager.getSplits(SplitManager.java:87)
at com.facebook.presto.split.CloseableSplitSourceProvider.getSplits(CloseableSplitSourceProvider.java:51)
at com.facebook.presto.sql.planner.SplitSourceFactory$Visitor.lambda$visitTableScan$0(SplitSourceFactory.java:126)
at com.facebook.presto.sql.planner.SplitSourceFactory$Visitor.visitTableScan(SplitSourceFactory.java:131)
at com.facebook.presto.sql.planner.SplitSourceFactory$Visitor.visitTableScan(SplitSourceFactory.java:102)
at com.facebook.presto.sql.planner.plan.TableScanNode.accept(TableScanNode.java:185)
at com.facebook.presto.sql.planner.SplitSourceFactory$Visitor.visitAggregation(SplitSourceFactory.java:222)
at com.facebook.presto.sql.planner.SplitSourceFactory$Visitor.visitAggregation(SplitSourceFactory.java:102)
at com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:199)
at com.facebook.presto.sql.planner.plan.InternalPlanNode.accept(InternalPlanNode.java:31)
at com.facebook.presto.sql.planner.SplitSourceFactory.createSplitSources(SplitSourceFactory.java:84)
at com.facebook.presto.execution.scheduler.SqlQueryScheduler.createStreamingLinkedStages(SqlQueryScheduler.java:411)
at com.facebook.presto.execution.scheduler.SqlQueryScheduler.createStreamingLinkedStages(SqlQueryScheduler.java:506)
at com.facebook.presto.execution.scheduler.SqlQueryScheduler.createStages(SqlQueryScheduler.java:327)
at com.facebook.presto.execution.scheduler.SqlQueryScheduler.(SqlQueryScheduler.java:207)
at com.facebook.presto.execution.scheduler.SqlQueryScheduler.createSqlQueryScheduler(SqlQueryScheduler.java:154)
at com.facebook.presto.execution.SqlQueryExecution.planDistribution(SqlQueryExecution.java:490)
at com.facebook.presto.execution.SqlQueryExecution.startExecution(SqlQueryExecution.java:359)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
除了编译出的那两包还需要其他的jar包么
The text was updated successfully, but these errors were encountered: