[ 
https://issues.apache.org/jira/browse/HBASE-20145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389438#comment-16389438
 ] 

Rohith Sharma K S commented on HBASE-20145:
-------------------------------------------

Here is the tail log trace
{noformat}
2018-03-07 16:59:52,620 INFO  [master//10.200.4.200:16000] 
wal.WALProcedureStore: Starting WAL Procedure Store lease recovery
2018-03-07 16:59:52,623 INFO  [master//10.200.4.200:16000] util.FSHDFSUtils: 
Recover lease on dfs file 
hdfs://127.0.0.1:9000/hbase/MasterProcWALs/pv2-00000000000000000001.log
2018-03-07 16:59:52,629 INFO  [master//10.200.4.200:16000] util.FSHDFSUtils: 
Recovered lease, attempt=0 on 
file=hdfs://127.0.0.1:9000/hbase/MasterProcWALs/pv2-00000000000000000001.log 
after 6ms
2018-03-07 16:59:52,630 WARN  [master//10.200.4.200:16000] 
wal.WALProcedureStore: Remove uninitialized log: 
FileStatus{path=hdfs://127.0.0.1:9000/hbase/MasterProcWALs/pv2-00000000000000000001.log;
 isDirectory=false; length=0; replication=3; blocksize=134217728; 
modification_time=1520422065550; access_time=1520422062450; owner=rsharmaks; 
group=supergroup; permission=rw-r--r--; isSymlink=false}
2018-03-07 16:59:52,630 INFO  [master//10.200.4.200:16000] 
wal.ProcedureWALFile: Archiving 
hdfs://127.0.0.1:9000/hbase/MasterProcWALs/pv2-00000000000000000001.log to 
hdfs://127.0.0.1:9000/hbase/oldWALs/pv2-00000000000000000001.log
2018-03-07 16:59:52,654 ERROR [master//10.200.4.200:16000] 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.
        at 
org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.rollWriter(WALProcedureStore.java:1036)
        at 
org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.recoverLease(WALProcedureStore.java:374)
        at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor.start(ProcedureExecutor.java:532)
        at 
org.apache.hadoop.hbase.master.HMaster.startProcedureExecutor(HMaster.java:1232)
        at 
org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:1145)
        at 
org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:837)
        at 
org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2026)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:547)
        at java.lang.Thread.run(Thread.java:748)
2018-03-07 16:59:52,655 ERROR [master//10.200.4.200:16000] master.HMaster: 
Master server abort: loaded coprocessors are: []
2018-03-07 16:59:52,655 ERROR [master//10.200.4.200:16000] master.HMaster: 
Unhandled exception. Starting shutdown.
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.
        at 
org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.rollWriter(WALProcedureStore.java:1036)
        at 
org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.recoverLease(WALProcedureStore.java:374)
        at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor.start(ProcedureExecutor.java:532)
        at 
org.apache.hadoop.hbase.master.HMaster.startProcedureExecutor(HMaster.java:1232)
        at 
org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:1145)
        at 
org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:837)
        at 
org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2026)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:547)
        at java.lang.Thread.run(Thread.java:748)
{noformat}

> HMaster start fails with IllegalStateException when HADOOP_HOME is set
> ----------------------------------------------------------------------
>
>                 Key: HBASE-20145
>                 URL: https://issues.apache.org/jira/browse/HBASE-20145
>             Project: HBase
>          Issue Type: Bug
>         Environment: HBase-2.0-beta1.
> Hadoop trunk version.
> java version "1.8.0_144"
>            Reporter: Rohith Sharma K S
>            Priority: Critical
>
> It is observed that HMaster start is failed when HADOOP_HOME is set as env 
> while starting HMaster. HADOOP_HOME is pointing to Hadoop trunk version.
> {noformat}
> 2018-03-07 16:59:52,654 ERROR [master//10.200.4.200:16000] 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.
>     at 
> org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.rollWriter(WALProcedureStore.java:1036)
>     at 
> org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.recoverLease(WALProcedureStore.java:374)
>     at 
> org.apache.hadoop.hbase.procedure2.ProcedureExecutor.start(ProcedureExecutor.java:532)
>     at 
> org.apache.hadoop.hbase.master.HMaster.startProcedureExecutor(HMaster.java:1232)
>     at 
> org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:1145)
>     at 
> org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:837)
>     at 
> org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2026)
>     at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:547)
>     at java.lang.Thread.run(Thread.java:748)
> {noformat}
> The same configs is working in HBase-1.2.6 build properly. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to