hi,

on cluster. see error log as below:


2018-06-22T15:49:31.577+0800    INFO    query-execution-4234    
com.facebook.presto.event.query.QueryMonitor    TIMELINE: Query 
20180622_074931_07271_ehasj :: 
Transaction:[3f6d5c62-045c-4638-b2dd-4025dddb2550] :: elapsed 12ms :: planning 
3ms :: scheduling 4ms :: running 4ms :: finishing 1ms :: begin 
2018-06-22T15:49:31.561+08:00 :: end 2018-06-22T15:49:31.573+08:00
2018-06-22T15:49:33.926+0800    ERROR   remote-task-callback-7148       
com.facebook.presto.execution.StageStateMachine Stage 
20180622_074933_07272_ehasj.1 failed
java.lang.NullPointerException: tableCacheModel.carbonTable should not be null
        at 
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
        at 
org.apache.carbondata.presto.CarbondataRecordSetProvider.getRecordSet(CarbondataRecordSetProvider.java:84)
        at 
org.apache.carbondata.presto.CarbondataPageSourceProvider.createPageSource(CarbondataPageSourceProvider.java:48)
        at 
com.facebook.presto.spi.connector.classloader.ClassLoaderSafeConnectorPageSourceProvider.createPageSource(ClassLoaderSafeConnectorPageSourceProvider.java:44)
        at 
com.facebook.presto.split.PageSourceManager.createPageSource(PageSourceManager.java:56)
        at 
com.facebook.presto.operator.TableScanOperator.getOutput(TableScanOperator.java:259)
        at com.facebook.presto.operator.Driver.processInternal(Driver.java:369)
        at 
com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:266)
        at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:646)
        at com.facebook.presto.operator.Driver.processFor(Driver.java:260)
        at 
com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:622)
        at 
com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
        at 
com.facebook.presto.execution.executor.LegacyPrioritizedSplitRunner.process(LegacyPrioritizedSplitRunner.java:23)
        at 
com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:492)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)




2018-06-22T15:49:34.073+0800    INFO    query-execution-4230    
com.facebook.presto.event.query.QueryMonitor    TIMELINE: Query 
20180622_074933_07272_ehasj :: 
Transaction:[f6e244f4-5121-4e64-9606-2c994263460f] :: elapsed 206ms :: planning 
195ms :: scheduling 4ms :: running 6ms :: finishing 1ms :: begin 
2018-06-22T15:49:33.720+08:00 :: end 2018-06-22T15:49:33.926+08:00

 


chenxingyu
------------------ Original ------------------
From:  "Bhavya Aggarwal"<bha...@knoldus.com>;
Date:  Fri, Jun 22, 2018 04:02 PM
To:  "dev"<dev@carbondata.apache.org>; 

Subject:  Re: query carbondata by presto got error : 
tableCacheModel.carbonTableshould not be null

 
Hi,
Are you running it on local or cluster, it should not come but if you will
send the stack trace we can resolve it.

Regards
Bhavya

On Fri, Jun 22, 2018 at 12:51 PM, 陈星宇 <chenxingyu...@keruyun.com> wrote:

> hi ,
> i query carbondata by presto, but got error : tableCacheModel.carbonTable
> should not be null
> any idea for this issue?
>
>
> chenxingyu




-- 
*Bhavya Aggarwal*
Sr. Director
Knoldus Inc. <http://www.knoldus.com/>
+91-9910483067
Canada - USA - India - Singapore
<https://in.linkedin.com/company/knoldus> <https://twitter.com/Knolspeak>
<https://www.facebook.com/KnoldusSoftware/> <https://blog.knoldus.com/>

Reply via email to