Hi:
https://github.com/apache/incubator-carbondata/pull/813 this pr has
resolved this problem. Now it works fine.
--
View this message in context:
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/java-io-FileNotFoundException-file-data-carbon-data-default-carbon-table-Metad
Hi ,
Since you are running the example it is an issue but normally when you run
carbon data you only provide the carbon.store location and it accepts the
normal HDFS path e.g for running thrift server with carbon I generally use
the below command
/usr/local/spark-2.1/bin/spark-submit --conf
spar
Hi:
After removing 'file://', the error 'FileNotFoundException' disappeared
when loading data into table. But when I execute select query, there is an
error: 'java.io.IOException: Dictionary file does not exist:
/data/carbon_data/default/carbon_table/Metadata/3ca9a876-31e0-44cd-8497-fd190dbcd352.
Please use the below properties and don't append file:// and try again.
val METASTORE_DB: String = "/data/carbon_meta"
val SPARK_WAREHOUSE: String = "/data/spark-warehouse-carbon"
val CARBON_FILES: String = "/data/carbon_data"
Regards
Bhavya
On Mon, Apr 17, 2017 at 3:24 PM, xm_zzc <441586...@qq.
Hi:
val METASTORE_DB: String = "/data/carbon_meta"
val SPARK_WAREHOUSE: String = "file:///data/spark-warehouse-carbon"
val CARBON_FILES: String = "file:///data/carbon_data"
The permissions on above paths:
drwxrwxrwx 3 myubuntu myubuntu 4096 4月 17 17:50 /data/carbon_data/
drwxr
Hi,
Can you please provide me the details of path for the following
Constants.CARBON_FILES
Constants.METASTORE_DB
Also please let me know the permissions on /data/carbon_data directory,
does the user you are using to run the example has permissions on directory
/data or /data/carbondata
Regard
Hi Liang Chen:
Thanks for your reply.
I have added the '777' right to paths of 'Constants.CARBON_FILES' and
'Constants.METASTORE_DB'. but the error still exists. I have not idea how to
resolve.
--
View this message in context:
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.
/main/scala/org/apache/carbondata/examples/CarbonSessionExample.scala,
> but the error occurred, as follows:
*
> Exception in thread "main" java.io.FileNotFoundException:
> file:/data/carbon_data/default/carbon_table/Metadata/schema.write
*
> at java.io.File
tion:
file:/data/carbon_data/default/carbon_table/Metadata/schema.write *
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOu