運行Sqoop import-all-table命令時出現錯誤。 chgrp: changing ownership of 'hdfs://quickstart.cloudera:8020/user/hive/warehouse/retail_db.db/categories/part-m-00000': User does not belong to supergroup
。用戶不屬於supergroup
的命令是sqoop import-all-tables --connect "jdbc:mysql://localhost:3306/retail_db" --username retail_dba -P --hive-import --hive-database retail_db --create-hive-table --hive-overwrite -m 2
我檢查了以下文件,但dfs.permission設置爲false。
[[email protected] ~]$ locate hdfs-site.xml
/etc/hadoop/conf.empty/hdfs-site.xml
/etc/hadoop/conf.impala/hdfs-site.xml
/etc/hadoop/conf.pseudo/hdfs-site.xml
/etc/impala/conf.dist/hdfs-site.xml
超羣不存在在/ etc/group中
請提出來解決這個問題。
它的ERROR或INFO?您可以在配置單元提示中看到數據庫retail_db嗎? –
感謝@Nirmal Ram的快速響應,我已經檢查了只有類別表格更新在配置單元中,沒有其他表格是在配置單元下創建的。 –
您是否已通過移至retail_db數據庫進行檢查 - >「use retail_db;」 ?您的Metastore是否使用Derby數據庫? –