2016-11-28 3 views
0

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ユーザはスーパーグループに属していません

コマンドは、私は、次のファイルをチェックしましたが、dfs.permissionがfalseに設定されている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

です。

[[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の

の中には存在しません。

+0

そのエラーやインフォメーションあなたはhiveプロンプトでretail_dbデータベースを見ることができますか? –

+0

クイックレスポンスのために@Nirmal Ramに感謝します。カテゴリテーブルのみをハイブで更新し、ハイブで他のテーブルを更新していないことを確認しました。 –

+0

あなたはretail_dbデータベースに移動してチェックしました - > "use retail_db;" ?あなたのメタストアはDerbyデータベースを使用していますか? –

答えて

0

マシンの再起動後、何らかの理由で私は以下のクエリを実行できましたが、同じ情報メッセージでしたが、すべてのテーブルのすべてのデータがありました。 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

関連する問題