Giter Site home page Giter Site logo

Comments (10)

Crossoverrr avatar Crossoverrr commented on July 18, 2024 1

我觉得这个问题应该是presto版本的问题,我是基于prestosql-315版本进行研发的,而我看你的日志应该是prestodb的,两者是不兼容的。如果你要基于prestodb来使用,可以考虑尝试dev_prestodb-0.221_0.1.2分支的代码。

from presto-hbase-connector.

Crossoverrr avatar Crossoverrr commented on July 18, 2024

需要把connector依赖的jar包都放到plugin/hbase目录下
也可以合起来打成一个比较大的jar包放到这个目录下,合起来打包的命令是:
mvn -U clean package

from presto-hbase-connector.

scienceyang avatar scienceyang commented on July 18, 2024

然而并不知道还依赖哪些jar。。

from presto-hbase-connector.

scienceyang avatar scienceyang commented on July 18, 2024

现在查询存在这种情况
image
一个select * from course就一直卡在这里,debug日志也没有报错

from presto-hbase-connector.

Crossoverrr avatar Crossoverrr commented on July 18, 2024

看一下worker有异常日志吗?

from presto-hbase-connector.

scienceyang avatar scienceyang commented on July 18, 2024

知道啥问题了,zookeeper地址错了。。。打扰了

from presto-hbase-connector.

Crossoverrr avatar Crossoverrr commented on July 18, 2024

OK,那我先close了啊。再有问题再打开

from presto-hbase-connector.

0ZhangJc0 avatar 0ZhangJc0 commented on July 18, 2024

你好,我运行mvn -U clean package之后报同样的错误。
prestodb:0.228
connector:0.221

from presto-hbase-connector.

0ZhangJc0 avatar 0ZhangJc0 commented on July 18, 2024

我觉得这个问题应该是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()这个函数,所以才会发生上述问题

from presto-hbase-connector.

0ZhangJc0 avatar 0ZhangJc0 commented on July 18, 2024

忘记贴报错信息了

2020-08-05T08:21:25.549Z ERROR remote-task-callback-28 com.facebook.presto.execution.StageExecutionStateMachine Stage execution 20200805_082125_00012_p5bbm.1.0 failed java.lang.AbstractMethodError: Method com/analysys/presto/connector/hbase/query/HBaseUpdatablePageSource.getCompletedPositions()J is abstract at com.analysys.presto.connector.hbase.query.HBaseUpdatablePageSource.getCompletedPositions(HBaseUpdatablePageSource.java) at com.facebook.presto.operator.ScanFilterAndProjectOperator.processPageSource(ScanFilterAndProjectOperator.java:287) at com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:236) at com.facebook.presto.operator.Driver.processInternal(Driver.java:379) at com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:283) at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:675) at com.facebook.presto.operator.Driver.processFor(Driver.java:276) at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1077) at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162) at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:483) at com.facebook.presto.$gen.Presto_0_228_SNAPSHOT_6b48d04____20200805_074502_1.run(Unknown Source) 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)

from presto-hbase-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.