2017-05-14 6 views
0

マルチノードハープクラスタをセットアップしようとしていますが、データノードの起動に失敗しました。以下はその詳細です。これ以外の設定はありません。私は今のところ、データノードと名前ノードの設定が1つしかありません。マルチノードハープループクラスタセットアップでデータノードを実行できませんでした。提案が必要

NAMENODE setup - 
CORE-SITE.xml 
<property> 
    <name>fs.defult.name</name> 
    <value>hdfs://192.168.1.7:9000</value> 
</property> 

HDFS-SITE.XML 

<property> 
    <name>dfs.name.dir</name> 
    <value>/data/namenode</value> 
</property> 




DATANODE SETUP: 

NAMENODE setup - 
CORE-SITE.xml 
<property> 
    <name>fs.defult.name</name> 
    <value>hdfs://192.168.1.7:9000</value> 
</property> 

HDFS-SITE.XML 

<property> 
    <name>dfs.data.dir</name> 
    <value>/data/datanode</value> 
</property> 

When I run namenode it runs fine however when I try to run data node on other machine whos IP is 192.168.1.8 it fails and log says 

2017-05-13 21:26:27,744 INFO org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source ugi registered. 
2017-05-13 21:26:27,862 WARN org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Source name ugi already exists! 
2017-05-13 21:26:32,908 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
2017-05-13 21:26:34,979 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
2017-05-13 21:26:36,041 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
2017-05-13 21:26:37,093 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
2017-05-13 21:26:38,162 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
2017-05-13 21:26:39,238 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/192.168.1.7:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS) 
@   

and datanode dies 
Is anything there to setup ? 
let me any other details required. Is there any other files to change? I am using centos7 to setup the env. I did formatting of namenode also more than 2-3 times, and also permissions are proper. Only connectivity issue however when I try to scp from master to slave (namenode to datanode) its works fine. 
Suggest if there are any other setup to be done to make it successful! 
+0

データノードの '/ etc/hosts'ファイルを投稿できますか? – franklinsijo

+0

ちょっと今、iptablesをアップデートした後に正常に動作しています;) – Pradeep

答えて

0

設定のプロパティ名にタイプミスがあります。 'a'はありません:fs.defult.name(対fs.default.name)。

+0

このフォーラムで実際に入力している間、誤ってタイプミスが発生しました。私はcentos7を使用しています。私は過去2日からたくさん試しましたが、まだ正しい答えを得ることができませんでした:(... – Pradeep

関連する問題