运行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。
该命令为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。
[cloudera@quickstart ~]$ 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/组中不存在SuperGroup
请建议解决此问题。
发布于 2016-11-29 18:59:04
在重新启动机器后,不知何故,我能够运行下面的查询是相同的信息消息,但与所有表中的所有数据。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
https://stackoverflow.com/questions/40842802
复制相似问题