Description
Execute sample.sh script failure in hdfs federation environment, because of creating hdfs directory failed. The error log is as following:
Loading sample data into HDFS tmp path: /tmp/kylin/sample_cube/data
mkdir: /tmp
mkdir: InternalDir of ViewFileSystem is readonly; operation=mkdirsPath=/tmp/kylin/sample_cube/data
put: `/tmp/kylin/sample_cube/data/': No such file or directory
In my environment, the hdfs directory should be '/nameservice/tmp/kylin', but there is hard coding in sample.sh:
hadoop ${hadoop_conf_param} fs -mkdir -p /tmp/kylin/sample_cube/data
hadoop ${hadoop_conf_param} fs -put * /tmp/kylin/sample_cube/data/
Attachments
Attachments
Issue Links
- links to