[jira]TestCase in carbondata-hadoop failed

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira]TestCase in carbondata-hadoop failed

ffpeng90
This post was updated on .
Hi,all:
    Recently, i meet a strange problem.
    i create a table via plugin carbondata-spark and stored it on local path with table name "flightdb2". I can read it with spark, all seems to be ok.



    Then i try to use a testCase to read table "flightdb2". The testCase is CarbonInputMapperTest and it is in Module carbondata-hadoop. However this testCase will fail with error "NullPointerException".
    Case CarbonInputMapperTest.testInputFormatMapperReadAllRowsAndColumns will success when read table "testtable" which created by StoreCreator.
    All code is cloned from github and is clean, so I want to know the difference between table "flightdb2" and "testtable"?







   
Reply | Threaded
Open this post in threaded view
|

Re: [jira]TestCase in carbondata-hadoop failed

ravipesala
Hi,

Please make sure the store path of "flightdb2" is given properly in side CarbonInputMapperTest class.
Please provide complete stack trace of error.
Reply | Threaded
Open this post in threaded view
|

Re: [jira]TestCase in carbondata-hadoop failed

ffpeng90
yes,  i can trace the QueryModel and see paras queryDimension and queryMeasure is the same as  spark read.
so i gusess table "flightdb2" is in the right place.
My table path is like this: ~/Documents/Intellij/carbondata/hadoop/target/store/testdb


However when loading file XXX.carbondata  in BlockIndexStore , it throw out a exception


I think everyone can have a try and reappear it. You just need a simple table created by carbon-spark.  
Reply | Threaded
Open this post in threaded view
|

Re:Re: [jira]TestCase in carbondata-hadoop failed

ffpeng90

i have update my carbon-version to 1.0.0, This problem seem to be gone.  
I will focus on carbon-hadoop API, and try something new.




At 2017-01-11 11:05:28, "ffpeng90 [via Apache CarbonData Mailing List archive]" <[hidden email]> wrote:
yes,  i can trace the QueryModel and see paras queryDimension and queryMeasure is the same as  spark read.
so i gusess table "flightdb2" is in the right place.
My table path is like this: ~/Documents/Intellij/carbondata/hadoop/target/store/testdb


However when loading file XXX.carbondata  in BlockIndexStore , it throw out a exception


I think everyone can have a try and reappear it. You just need a simple table created by carbon-spark.  


To unsubscribe from [jira]TestCase in carbondata-hadoop failed, click here.
NAML