peng.jianhua created KYLIN-2605:
-----------------------------------

             Summary: Execute sample.sh script failure in hdfs federation 
environment
                 Key: KYLIN-2605
                 URL: https://issues.apache.org/jira/browse/KYLIN-2605
             Project: Kylin
          Issue Type: Bug
          Components: General
    Affects Versions: v2.0.0
         Environment: HDFS Federation
            Reporter: peng.jianhua
            Assignee: peng.jianhua
            Priority: Minor
             Fix For: v2.1.0


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/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to