[ https://issues.apache.org/jira/browse/CARBONDATA-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravindra Pesala updated CARBONDATA-3383: ---------------------------------------- Fix Version/s: (was: 1.6.0) > fix thrift version conflict bug in examples module > -------------------------------------------------- > > Key: CARBONDATA-3383 > URL: https://issues.apache.org/jira/browse/CARBONDATA-3383 > Project: CarbonData > Issue Type: Bug > Components: examples > Affects Versions: 1.5.3 > Reporter: lamber-ken > Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Thrift version conflict in examples module, in example module needs +carbondata-hive+ and > +carbondata-store-sdk,+ one version is 0.9.3 another is 0.9.2. This cause NPE when use +carbondata-sdk+ write demo data. > > Detail stackstrace > {code:java} > java.lang.NullPointerException > at org.apache.thrift.protocol.TCompactProtocol.writeString(TCompactProtocol.java:356) > at org.apache.carbondata.format.FileFooter3$FileFooter3StandardScheme.write(FileFooter3.java:1053) > at org.apache.carbondata.format.FileFooter3$FileFooter3StandardScheme.write(FileFooter3.java:877) > at org.apache.carbondata.format.FileFooter3.write(FileFooter3.java:768) > at org.apache.carbondata.core.util.CarbonUtil.getByteArray(CarbonUtil.java:1444) > at org.apache.carbondata.processing.store.writer.v3.CarbonFactDataWriterImplV3.writeFooterToFile(CarbonFactDataWriterImplV3.java:122) > at org.apache.carbondata.processing.store.writer.v3.CarbonFactDataWriterImplV3.writeFooter(CarbonFactDataWriterImplV3.java:415) > at org.apache.carbondata.processing.store.CarbonFactDataHandlerColumnar.closeHandler(CarbonFactDataHandlerColumnar.java:502) > at org.apache.carbondata.processing.loading.steps.CarbonRowDataWriterProcessorStepImpl.processingComplete(CarbonRowDataWriterProcessorStepImpl.java:234) > at org.apache.carbondata.processing.loading.steps.CarbonRowDataWriterProcessorStepImpl.finish(CarbonRowDataWriterProcessorStepImpl.java:212) > at org.apache.carbondata.processing.loading.steps.CarbonRowDataWriterProcessorStepImpl.doExecute(CarbonRowDataWriterProcessorStepImpl.java:179) > at org.apache.carbondata.processing.loading.steps.CarbonRowDataWriterProcessorStepImpl.execute(CarbonRowDataWriterProcessorStepImpl.java:133) > at org.apache.carbondata.processing.loading.DataLoadExecutor.execute(DataLoadExecutor.java:52) > at org.apache.carbondata.hadoop.api.CarbonTableOutputFormat$1.run(CarbonTableOutputFormat.java:274) > 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:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748) > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) |
Free forum by Nabble | Edit this page |