You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by wu shen <wu...@outlook.com> on 2018/09/27 09:44:26 UTC
Possible Reference Guide Error: Pseudo case,
hbase.unsafe.stream.capability.enforce should set to false, not true
Hi, dev team,
My env is: hadoop 2.9.1 + hbase 2.1.0
When I follow the Reference Guide to set up Pseudo Distrubuted install:
"Be sure to either remove the entry for hbase.unsafe.stream.capability.enforce or set it to true."
But actually found:
1. HMaster error and existed
"ERROR [Thread-22] master.HMaster: Failed to become active master
java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. Please check the config value of 'hbase.procedure.store.wal.use.hsync' to set the desired level of robustness and ensure the config value of 'hbase.wal.dir' points to a FileSystem mount that can provide it."hbase shell > status
1. hbase shell: status
ERROR: KeeperErrorCode = NoNode for /hbase/master
When I change into
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
everything is ok.
Possbile error for Reference guide ?
wushen
Re: Possible Reference Guide Error: Pseudo case, hbase.unsafe.stream.capability.enforce
should set to false, not true
Posted by Sean Busbey <bu...@apache.org>.
Hi wushen!
Did you replace the Hadoop jars in your HBase install with the ones
provided by your Hadoop version? The error you ran into can happen if
your runtime has a mix of older and newer Hadoop classes.
On Thu, Sep 27, 2018 at 8:05 AM wu shen <wu...@outlook.com> wrote:
>
> Hi, dev team,
>
>
> My env is: hadoop 2.9.1 + hbase 2.1.0
>
> When I follow the Reference Guide to set up Pseudo Distrubuted install:
> "Be sure to either remove the entry for hbase.unsafe.stream.capability.enforce or set it to true."
>
> But actually found:
>
> 1. HMaster error and existed
>
> "ERROR [Thread-22] master.HMaster: Failed to become active master
> java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. Please check the config value of 'hbase.procedure.store.wal.use.hsync' to set the desired level of robustness and ensure the config value of 'hbase.wal.dir' points to a FileSystem mount that can provide it."hbase shell > status
>
> 1. hbase shell: status
>
> ERROR: KeeperErrorCode = NoNode for /hbase/master
>
> When I change into
>
> <property>
> <name>hbase.unsafe.stream.capability.enforce</name>
> <value>false</value>
> </property>
>
> everything is ok.
>
> Possbile error for Reference guide ?
>
>
> wushen
>