0

Cloudera クラスター バージョン 5.3.x を使用しており、次のコマンドを使用して sqoop クライアントを実行する場合

sqoop import --connect jdbc:mysql://HOST/myapplication --username myuser --direct -table=mytable -m 1 --hive-import --append --hive-table myapplication.tableimp --target-dir /user/hive/warehouse/myapplication/tableimp

次のステートメントでループします。クラスタに MRv1 しかないのに、yarn に接続しようとしているように見えます。

INFO client.RMProxy: Connecting to ResourceManager at node/<ipaddress>:8032
INFO ipc.Client: Retrying connect to server: node/<ipaddress>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
INFO ipc.Client: Retrying connect to server: node/<ipaddress>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)

cloudera に記載されている次のことを試しましたが、まだ変化はありません。

alternatives --set sqoop2-tomcat-conf /etc/sqoop2/tomcat-conf.mr1

おそらく、その VM の /etc/sqoop2 の場所に tomcat-conf.mr1 ファイルが表示されないことに言及する必要があります。

4

1 に答える 1