[prev in list] [next in list] [prev in thread] [next in thread]
List: hadoop-user
Subject: =?utf-8?B?5Zue5aSN77yaIGFmdGVyICBRSk0gZmFpbG92ZXI=?= =?utf-8?B?77yMaGJhc2UgIGNhbiBub3QgIHdyaXRl?=
From: "=?utf-8?B?6IGq6IGq?=" <175998806 () qq ! com>
Date: 2014-11-28 9:34:25
Message-ID: tencent_782A4E49595005014C5E0836 () qq ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
part of the datanode log is following:
2014-11-28 16:51:56,420 INFO org.apache.hadoop.ipc.Client: Retrying connect to \
server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 8 time(s); retry policy \
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2014-11-28 16:52:12,421 INFO org.apache.hadoop.ipc.Client: Retrying connect to \
server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 9 time(s); retry policy \
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2014-11-28 16:52:27,422 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: \
IOException in offerService
java.net.ConnectException: Call From l-hbase3.dba.dev.cn0.qunar.com/10.86.36.219 to \
l-hbase1.dba.dev.cn0:8020 failed on connection exception: java.net.ConnectException: \
Connection timed out; For more details see: \
http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)
at org.apache.hadoop.ipc.Client.call(Client.java:1413)
at org.apache.hadoop.ipc.Client.call(Client.java:1362)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
at com.sun.proxy.$Proxy9.sendHeartbeat(Unknown Source)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy9.sendHeartbeat(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.sendHeartbeat(DatanodeProtocolClientSideTranslatorPB.java:178)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:566)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:664)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:834)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.net.ConnectException: Connection timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:604)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:699)
at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:367)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1461)
at org.apache.hadoop.ipc.Client.call(Client.java:1380)
... 14 more
2014-11-28 16:52:43,424 INFO org.apache.hadoop.ipc.Client: Retrying connect to \
server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 0 time(s); retry policy \
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) \
2014-11-28 16:52:59,424 INFO org.apache.hadoop.ipc.Client: Retrying connect to \
server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 1 time(s); retry policy \
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) \
2014-11-28 16:53:15,425 INFO org.apache.hadoop.ipc.Client: Retrying connect to \
server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 2 time(s); retry policy \
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
------------------ 原始邮件 ------------------
发件人: "mail list";<louis.hust.ml@gmail.com>;
发送时间: 2014年11月28日(星期五) 下午5:31
收件人: "user"<user@hadoop.apache.org>;
主题: Re: after QJM failover,hbase can not write
Hi,
please attach your log when the problem happened!!
On Nov 28, 2014, at 14:32, 聪聪 <175998806@qq.com> wrote:
hi,there:
I encount a problem,it let me upset.
I use version of hadoop is hadoop-2.3.0-cdh5.1.0,namenode HA use the Quorum \
Journal Manager (QJM) feature ,dfs.ha.fencing.methods option is following: \
<property> <name>dfs.ha.fencing.methods</name>
<value>sshfence
shell(q_hadoop_fence.sh $target_host $target_port)
</value>
</property>
or
<property>
<name>dfs.ha.fencing.methods</name>
<value>sshfence
shell(/bin/true)
</value>
</property>
I use iptables to simulate machine of active namenode crash。After automatic \
failover completed,hdfs can the normal write,for example ./bin/hdfs dfs -put \
a.txt /tmp,but hbase still can not write. After a very long time,hbase can \
write,but I can not statistic How long did it take. I want to ask:
1、Why hdfs Complete failover,hbase can not write?
2、After hdfs Complete failover,how long hbase can write?
Looking forward for your responses!
[Attachment #3 (text/html)]
<div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; \
line-height: 23.7999992370605px;">part of the datanode log is \
following:</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft \
YaHei'; line-height: 23.7999992370605px;"><br></div><div style="font-family: 'lucida \
Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;"><div><span \
t="5" times=" 16:51" style="border-bottom-width: 1px; border-bottom-style: dashed; \
border-bottom-color: rgb(204, 204, 204);">2014-11-28</span> 16:51:56,420 INFO \
org.apache.hadoop.ipc.Client: Retrying connect to server: \
l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 8 time(s); retry policy \
is</div><div>RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 \
MILLISECONDS)</div><div><span t="5" times=" 16:52" style="border-bottom-width: 1px; \
border-bottom-style: dashed; border-bottom-color: rgb(204, 204, 204); position: \
relative;">2014-11-28</span> 16:52:12,421 INFO org.apache.hadoop.ipc.Client: \
Retrying connect to server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 9 \
time(s); retry policy is</div><div>RetryUpToMaximumCountWithFixedSleep(maxRetries=10, \
sleepTime=1000 MILLISECONDS)</div><div><span t="5" times=" 16:52" \
style="border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: \
rgb(204, 204, 204);">2014-11-28</span> 16:52:27,422 WARN \
org.apache.hadoop.hdfs.server.datanode.DataNode: IOException in \
offerService</div><div>java.net.ConnectException: Call From <a \
href="http://l-hbase3.dba.dev.cn0.qunar.com/10.86.36.219" target="_blank" \
style="outline: none; cursor: pointer; color: rgb(30, 84, \
148);">l-hbase3.dba<wbr>.dev.cn0.qun<wbr>ar.com/10.86<wbr>.36.219</a> to \
l-hbase1.dba.dev.cn0:8020 failed on connection exception: \
java.net.ConnectException:</div><div> Connection timed out; For more details \
see: <a href="http://wiki.apache.org/hadoop/ConnectionRefused" target="_blank" \
style="outline: none; cursor: pointer; color: rgb(30, 84, \
148);">http://wiki.<wbr>apache.org/h<wbr>adoop/Connec<wbr>tionRefused</a></div><div> \
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native \
Method)</div><div> at \
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)</div><div> \
at \
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</div><div> \
at \
java.lang.reflect.Constructor.newInstance(Constructor.java:526)</div><div> \
at \
org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)</div><div> \
at \
org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)</div><div> \
at \
org.apache.hadoop.ipc.Client.call(Client.java:1413)</div><div> \
at org.apache.hadoop.ipc.Client.call(Client.java:1362)</div><div> \
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)</div><div> \
at com.sun.proxy.$Proxy9.sendHeartbeat(Unknown \
Source)</div><div> at \
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)</div><div> \
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div> \
at \
java.lang.reflect.Method.invoke(Method.java:606)</div><div> \
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)</div><div> \
at \
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)</div><div> \
at com.sun.proxy.$Proxy9.sendHeartbeat(Unknown \
Source)</div><div> at \
org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.sendHeartbeat(DatanodeProtocolClientSideTranslatorPB.java:178)</div><div> \
at \
org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:566)</div><div> \
at \
org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:664)</div><div> \
at \
org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:834)</div><div> \
at java.lang.Thread.run(Thread.java:744)</div><div>Caused by: \
java.net.ConnectException: Connection timed out</div><div> \
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)</div><div> \
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)</div><div> \
at \
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)</div><div> \
at \
org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)</div><div> \
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)</div><div> \
at \
org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:604)</div><div> \
at \
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:699)</div><div> \
at \
org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:367)</div><div> \
at \
org.apache.hadoop.ipc.Client.getConnection(Client.java:1461)</div><div> \
at org.apache.hadoop.ipc.Client.call(Client.java:1380)</div><div> \
... 14 more</div><div><span t="5" times=" 16:52" \
style="border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: \
rgb(204, 204, 204);">2014-11-28</span> 16:52:43,424 INFO \
org.apache.hadoop.ipc.Client: Retrying connect to server: \
l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 0 time(s); retry policy is \
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 \
MILLISECONDS)</div><div><span t="5" times=" 16:52" style="border-bottom-width: 1px; \
border-bottom-style: dashed; border-bottom-color: rgb(204, 204, \
204);">2014-11-28</span> 16:52:59,424 INFO org.apache.hadoop.ipc.Client: \
Retrying connect to server: l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 1 \
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, \
sleepTime=1000 MILLISECONDS)</div><div><span t="5" times=" 16:53" \
style="border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: \
rgb(204, 204, 204);">2014-11-28</span> 16:53:15,425 INFO \
org.apache.hadoop.ipc.Client: Retrying connect to server: \
l-hbase1.dba.dev.cn0/10.86.36.217:8020. Already tried 2 time(s); retry policy is \
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)<span \
id="_editor_bookmark_start_0" style="display: none; line-height: \
0px;"></span></div></div></div><div><div><br></div><div><br></div><div \
style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px \
0;">------------------ 原始邮件 ------------------</div><div \
style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "mail \
list";<louis.hust.ml@gmail.com>;</div><div><b>发送时间:</b> 2014年11月28日(星期五) \
下午5:31</div><div><b>收件人:</b> "user"<user@hadoop.apache.org>; \
<wbr></div><div></div><div><b>主题:</b> Re: after QJM failover,hbase can \
not write</div></div><div><br></div>Hi,<div><br></div><div>please attach your log \
when the problem happened!!</div><div><br><div><div>On Nov 28, 2014, at 14:32, 聪聪 \
<<a href="mailto:175998806@qq.com">175998806@qq.com</a>> wrote:</div><br \
class="Apple-interchange-newline"><blockquote \
type="cite"><div>hi,there:</div><div><font editorwarp__="1" style="display: inline; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">I encount a problem,it let me \
upset.</font></div><font editorwarp__="1" style="display: inline; font-size: 14px; \
font-family: Verdana; font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);"><div style="display: block; font-size: 14px; font-family: Verdana; \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);"><br></div><div style="display: block; font-size: 14px; font-family: Verdana; \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);">I use \
version of hadoop is hadoop-2.3.0-cdh5.1.0,namenode HA use the Quorum Journal \
Manager (QJM) feature ,dfs.ha.fencing.methods option is following:</div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);"><div style="display: block; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);"><property></div><div style="display: \
block; font-size: 14px; font-family: Verdana; font-weight: normal; font-style: \
normal; background-color: rgba(0, 0, 0, 0);"> \
<name>dfs.ha.fencing.methods</name></div><div style="display: block; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);"> \
<value>sshfence</div><div style="display: block; font-size: 14px; font-family: \
Verdana; font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);"> shell(q_hadoop_fence.sh \
$target_host $target_port)</div><div style="display: block; font-size: 14px; \
font-family: Verdana; font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);"> </value></div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, \
0);"></property></div></div><div style="display: block; font-size: 14px; \
font-family: Verdana; font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);"><br></div><div style="display: block; font-size: 14px; \
font-family: Verdana; font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);">or</div><div style="display: block; font-size: 14px; font-family: \
Verdana; font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);"><br></div><div style="display: block; font-size: 14px; font-family: Verdana; \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);"><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);"><property></div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);"> \
<name>dfs.ha.fencing.methods</name></div><div style="display: block; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);"> \
<value>sshfence</div><div style="display: block; font-size: 14px; font-family: \
Verdana; font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);"> \
shell(/bin/true)</div><div style="display: block; font-size: 14px; font-family: \
Verdana; font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);"> </value></div><div style="display: block; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);"></property></div></div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);"><br></div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">I use iptables to \
simulate machine of active namenode crash。After automatic \
failover completed,hdfs can the normal write,for example ./bin/hdfs dfs \
-put a.txt /tmp,but hbase still can not write.</div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">After a very long \
time,hbase can write,but I can not statistic How long did it take.</div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">I want to ask:</div><div \
style="display: block; font-size: 14px; font-family: Verdana; font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">1、Why hdfs Complete \
failover,hbase can not write?</div><div style="display: block; font-size: 14px; \
font-family: Verdana; font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);">2、After hdfs Complete failover,how long hbase can \
write?</div><div style="display: block; font-size: 14px; font-family: Verdana; \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);"><pre \
style="line-height: normal;"><font editorwarp__="1" style="display: inline; \
font-size: 14px; font-family: Verdana; font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">Looking forward for your responses!</font><span \
id="_editor_bookmark_start_32" style="display: none; line-height: \
0px;"></span></pre></div></font><div><span style="color: rgb(51, 51, 51); \
font-family: arial; font-size: 18px; line-height: 22px;"><span \
id="_editor_bookmark_start_25" style="display: none; line-height: \
0px;"></span></span></div></blockquote></div><br></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic