SecondaryNamenode Checkpoint 故障一例
SecondaryNameNode Side 错误提示
1 | 2012-06-19 19:56:45,711 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hadoop-user cause:java.net.ConnectException: Connection refused |
解决办法
From Google
1 | I am not sure what could be the exact issue but when configuring secondary NN to NN, you need to tell your SNN where the actual NN resides. Try adding - dfs.http.address on your secondary namenode machine having value as <NN:port> on hdfs-site.xml Port should be on which your NN url is opening - means your NN web browser http port. |
你需要告诉snn,nn是在什么地方,在snn下hdfs-site.xml加入
1 | <property> |
上面只是指出了一个方面,还有一个地方, 你需要告诉snn,它自己的ip地址与http端口是多少,在snn下hdfs-site.xml加入
1 | <property> |
SecondaryNamenode do checkpoint的过程
namenode : 10.2.10.16
namendoe http port : 50071
secondarynamenode : cwapub008.cloudiya.com
secondarynamenode http port : 50090
1 | 2012-06-20 09:19:41,386 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of transactions: 0 Total time for transactions(ms): 0Number of transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0 |