[ 
https://issues.apache.org/jira/browse/CARBONDATA-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369762#comment-16369762
 ] 

anubhav tarar commented on CARBONDATA-1958:
-------------------------------------------

since we are using carbonsqlcli it will create store on local so fs.default.fs 
should be local as well

> CarbonSqlCliDriver not show result in case of select query
> ----------------------------------------------------------
>
>                 Key: CARBONDATA-1958
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1958
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.3.0
>         Environment: sparksqlclidriver,hadoop2.7
>            Reporter: anubhav tarar
>            Assignee: anubhav tarar
>            Priority: Major
>
> 1.start the carbonsparksqlcli driver
> go to bin folder of carbon project and execute command
> ./carbon-spark-sql
> 2.create carbon data table
> spark-sql> create table sparktable(id int)stored by 'carbondata';
> 3.load data in carbontable
> spark-sql> insert into sparktable values(1);
> 4.query the data
> 18/01/02 12:06:45 INFO TableInfo: main Table block size not specified for 
> default_sparktable. Therefore considering the default value 1024 MB
> 18/01/02 12:06:45 INFO BlockletDataMap: main Time taken to load blocklet 
> datamap from file : 
> /home/anubhav/Documents/carbondata/carbondata/bin/carbonsqlclistore/default/sparktable/Fact/Part0/Segment_0/0_batchno0-0-1514874975013.carbonindexis
>  19
> 18/01/02 12:06:45 INFO CarbonScanRDD: 
>  Identified no.of.blocks: 0,
>  no.of.tasks: 0,
>  no.of.nodes: 0,
>  parallelism: 4
>        
> 18/01/02 12:06:45 INFO SparkContext: Starting job: processCmd at 
> CliDriver.java:376
> 18/01/02 12:06:45 INFO DAGScheduler: Job 4 finished: processCmd at 
> CliDriver.java:376, took 0.000073 s
> Time taken: 0.378 seconds
> 18/01/02 12:06:45 INFO CliDriver: Time taken: 0.378 seconds
> here no records get displayed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to