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

List:       hadoop-user
Subject:    =?utf-8?Q?Re=3A_after__QJM_failover=EF=BC=8Chbase__can_not__writ?= =?utf-8?Q?e?=
From:       mail list <louis.hust.ml () gmail ! com>
Date:       2014-11-28 9:31:42
Message-ID: 20A2E7E9-39FB-4337-A673-4789D263E3FF () gmail ! com
[Download RAW message or body]

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 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;">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, 聪聪 \
&lt;<a href="mailto:175998806@qq.com">175998806@qq.com</a>&gt; 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 &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; 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);">&lt;property&gt;</div><div style="display: \
block; font-size: 14px; font-family: Verdana; 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; 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; 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; 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; 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; 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);">&lt;property&gt;</div><div \
style="display: block; font-size: 14px; font-family: Verdana; 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; 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; 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; 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; 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; 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 \
&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; 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; 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&nbsp;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&nbsp;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></body></html>



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

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