0
hadoop Webuiで4ノードのhadoopクラスタをインストールしました。すべてのdatanodeとnamenodesが起動しています。しかし、私がselect count(*) from table_name;
をハイブで実行しているときに、クエリが停止しています。Map Hadoopが稼動しているにもかかわらずジョブが滞っている
hive> select count(*) from test_hive2;
Query ID = dssbp_20160804124833_ff269da1-6b91-4e46-a1df-460603a5cb98
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
set mapreduce.job.reduces=<number>
私はcontiniously私のデータノードのノードマネージャのログとハイブログに取得していますエラーは次のとおりです。私がチェックしている
2016-08-04 12:33:31,474 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: namenode1/172.18.128.24:6005. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
もの:
1.Canデータノードから名前へのTelnetを行いますノード。
2. hadoop putとgetコマンドを実行できます。
3.ハイブにテーブルを作成し、データをロードすることができます。
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.18.128.24 namenode1 mycluster
172.18.128.25 namenode2
172.18.128.26 datanode1
172.18.128.27 datanode2
いずれかが解決策を提案できる場合は大きな助けになります。
よろしく、 ランジャン
ホスト名-fとホスト名-iを実行して、ここに出力を貼り付けてください。 –