-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59165/
-----------------------------------------------------------
Review request for kylin, Dayue Gao, Dong Li, hongbin ma, and Wang Xiaoyu.
Bugs: KYLIN-2605
https://issues.apache.org/jira/browse/KYLIN-2605
Repository: kylin
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/
Diffs
-----
build/bin/sample.sh 617b67182
examples/sample_cube/create_sample_tables.sql 24f26f88b
Diff: https://reviews.apache.org/r/59165/diff/1/
Testing
-------
Thanks,
pengjianhua