Hi zhong, I guess you started the thrift server from Spark so Carbon cannot work because Spark default thrift server HiveContext not CarbonContext. I will soon add the script to start thrift server in carbon.
By the time you can use the following script to start the thrift server of carbon. bin/spark-she'll --class org.carbondata.spark.thriftserver.CarbonThriftserver carbonassemblydata.jar storepath Thanks & Regards, Ravindra. On Wed, 20 Jul 2016 19:09 Degen DG1 Zhong, <[email protected]> wrote: > 0: jdbc:hive2://slave19:50000/default> create table if not exists table1 > (id string, name string, city string, age Int) STORED BY > 'org.apache.carbondata.format'; > Error: org.apache.spark.sql.execution.QueryExecutionException: FAILED: > SemanticException Cannot find class 'org.apache.carbondata.format' > (state=,code=0) > > I use carbondata to create table with org.apache.carbondata.format, class > not found; I cannot found org.apache.carbondata.format.java file in source > code from git. > Env: > spark1.6.0+thriftserver+hadoop2.6.0+carbondata > > ________________________________ > Degen DG1 Zhong >
