[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-user
Subject:    =?utf-8?B?YWZ0ZXIgIFFKTSBmYWlsb3Zlcu+8jGhiYXNlICBj?= =?utf-8?B?YW4gbm90ICB3cml0ZQ==?=
From:       "=?utf-8?B?6IGq6IGq?=" <175998806 () qq ! com>
Date:       2014-11-28 6:32:42
Message-ID: tencent_4CC7AB041374D3792AC620EC () qq ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

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>hi,there:</div><div><font __editorwarp__="1" style="display: inline; \
font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); 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; color: rgb(0, 0, 0); font-weight: normal; font-style: \
normal; background-color: rgba(0, 0, 0, 0);"><div style="display: block; font-size: \
14px; font-family: Verdana; color: rgb(0, 0, 0); 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; color: rgb(0, 0, 0); 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 &nbsp;the Quorum Journal Manager (QJM) \
feature&nbsp;,dfs.ha.fencing.methods option is following:</div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);"><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);">&lt;property&gt;</div><div style="display: block; font-size: 14px; font-family: \
Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;name&gt;dfs.ha.fencing.methods&lt;/name&gt;</div><div style="display: block; \
font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;value&gt;sshfence</div><div style="display: block; font-size: 14px; font-family: \
Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;shell(q_hadoop_fence.sh $target_host $target_port)</div><div style="display: \
block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); font-weight: \
normal; font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; \
&nbsp; &lt;/value&gt;</div><div style="display: block; font-size: 14px; font-family: \
Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">&lt;/property&gt;</div></div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
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; \
color: rgb(0, 0, 0); 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; color: rgb(0, 0, 0); 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; color: rgb(0, 0, 0); font-weight: normal; font-style: \
normal; background-color: rgba(0, 0, 0, 0);"><div style="display: block; font-size: \
14px; font-family: Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: \
normal; background-color: rgba(0, 0, 0, 0);">&lt;property&gt;</div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; \
&nbsp; &nbsp; &nbsp; &lt;name&gt;dfs.ha.fencing.methods&lt;/name&gt;</div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; \
&nbsp; &nbsp; &nbsp; &lt;value&gt;sshfence</div><div style="display: block; \
font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;shell(/bin/true)</div><div style="display: block; \
font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); font-weight: normal; \
font-style: normal; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; \
&lt;/value&gt;</div><div style="display: block; font-size: 14px; font-family: \
Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">&lt;/property&gt;</div></div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
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; \
color: rgb(0, 0, 0); font-weight: normal; font-style: normal; background-color: \
rgba(0, 0, 0, 0);">I use iptables to &nbsp;simulate &nbsp;machine of active namenode \
&nbsp;crash。After &nbsp;automatic failover completed,hdfs &nbsp;can&nbsp;the \
normal write,for example ./bin/hdfs dfs -put a.txt /tmp,but &nbsp;hbase &nbsp;still \
&nbsp;can not write.</div><div style="display: block; font-size: 14px; font-family: \
Verdana; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; \
background-color: rgba(0, 0, 0, 0);">After a very&nbsp;long time,hbase can \
write,but I can not statistic&nbsp;How long did it take.</div><div style="display: \
block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); 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; color: \
rgb(0, 0, 0); font-weight: normal; font-style: normal; background-color: rgba(0, 0, \
0, 0);">1、Why hdfs&nbsp;Complete failover,hbase can not write?</div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
font-weight: normal; font-style: normal; background-color: rgba(0, 0, 0, \
0);">2、After hdfs&nbsp;Complete failover,how long hbase can write?</div><div \
style="display: block; font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); \
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; color: rgb(0, 0, 0); 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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic