至少一个文件系统不支持ACL:Distcp HDFS

时间:2018-08-24 11:23:39

标签: hadoop hdfs hortonworks-data-platform distcp

 As per distcp documentation -> 
If -pa is specified, DistCp preserves the permissions also because 
ACLs are a super-set of permissions.
but hadoop distcp -pa -delete -update /src/path /dest/path/
is failing with ACLs not supported on at least one file system.
Complete logs below

上面执行的命令失败。 期望使用ACL将hdfs文件从源复制到目标。

org.apache.hadoop.tools.CopyListing $ AclsNotSupportedException:文件系统不支持ACL:hdfs://10.20.0.7:8020         在org.apache.hadoop.tools.util.DistCpUtils.checkFileSystemAclSupport(DistCpUtils.java:381)         在org.apache.hadoop.tools.DistCp.configureOutputFormat(DistCp.java:353)         在org.apache.hadoop.tools.DistCp.createJob(DistCp.java:247)         在org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:176)         在org.apache.hadoop.tools.DistCp.execute(DistCp.java:155)         在org.apache.hadoop.tools.DistCp.run(DistCp.java:128)         在org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)         在org.apache.hadoop.tools.DistCp.main(DistCp.java:462)

1 个答案:

答案 0 :(得分:0)

<ComboBox fx:id="comboBox"  editable="true" promptText="Enter Period in Days"  >
    <items>
        <FXCollections fx:factory="observableArrayList">
            <String fx:id="week" fx:value="7" />
            <String fx:id="fortnite" fx:value="14" />
            <String fx:id="month" fx:value="30" />
            <String fx:id="monthx3" fx:value="90" />
            <String fx:id="year_2" fx:value="180" />
            <String fx:id="year" fx:value="365"/>
        </FXCollections>
    </items>
</ComboBox>

请确保从安全群集中运行此命令。

OR

hadoop distcp -D ipc.client.fallback-to-simple-auth-allowed=true hdfs://<insecure_hdp>/test01.txt hdfs://<secure_hdp>/user/hdfs 中设置以下值,然后重试:

core-site.xml