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

Matteo Bertozzi commented on HBASE-14240:
-----------------------------------------

yeah, it doesn't look a clean shutdown. I don't see the log info saying 
"Stopping the WAL Procedure Store" or any of the "Stopping" message we should 
print on shutdown,  and from the logs looks like the master is still doing work 
when we get back to the hbase-daemon.sh script that says "Terminating master"
{noformat}
2015-08-18 00:34:44,688 WARN  
[MASTER_META_SERVER_OPERATIONS-ndimiduk-rc-dist-1:60000-1] 
master.AssignmentManager: Can't move 1588230740, there is no destination server 
available.
2015-08-18 00:34:44,688 WARN  
[MASTER_META_SERVER_OPERATIONS-ndimiduk-rc-dist-1:60000-1] 
master.AssignmentManager: Unable to determine a plan to assign {ENCODED => 
1588230740, NAME => 'hbase:meta,,1', STARTKEY => '', ENDKEY => ''}
Tue Aug 18 00:34:44 UTC 2015 Terminating master
{noformat}

so, i'd say that the warn is ok. we can probably improve it by saying that the 
missing trailer may be caused by a non clean shutdown or something like that

> Unactionable WARN messages in wal.ProcedureWALFormatReader
> ----------------------------------------------------------
>
>                 Key: HBASE-14240
>                 URL: https://issues.apache.org/jira/browse/HBASE-14240
>             Project: HBase
>          Issue Type: Bug
>          Components: master, proc-v2
>    Affects Versions: 1.1.2
>            Reporter: Nick Dimiduk
>            Priority: Minor
>         Attachments: ndimiduk-rc-dist-1.tgz
>
>
> While testing 1.1.2RC0, I notice the following messages in my master log.
> {noformat}
> 2015-08-18 00:42:59,646 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> procedure2.ProcedureExecutor: Starting procedure executor threads=5
> 2015-08-18 00:42:59,647 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Starting WAL Procedure Store lease recovery
> 2015-08-18 00:42:59,652 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> util.FSHDFSUtils: Recovering lease on dfs file 
> hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log
> 2015-08-18 00:42:59,664 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> util.FSHDFSUtils: recoverLease=true, attempt=0 on 
> file=hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log
>  after 10ms
> 2015-08-18 00:42:59,665 DEBUG [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Opening state-log: 
> FileStatus{path=hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log;
>  isDirectory=false; length=9; replication=3; blocksize=134217728; 
> modification_time=1439858084806; access_time=1439857575101; owner=hbase; 
> group=hdfs; permission=rw-r--r--; isSymlink=false}
> 2015-08-18 00:42:59,676 WARN  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Unable to read tracker for 
> hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log
>  - Missing trailer: size=9 startPos=9
> 2015-08-18 00:42:59,703 DEBUG [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Roll new state log: 2
> 2015-08-18 00:42:59,705 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Lease acquired for flushLogId: 2
> 2015-08-18 00:42:59,711 WARN  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.ProcedureWALFormatReader: nothing left to decode. exiting with missing EOF
> 2015-08-18 00:42:59,711 INFO  [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.ProcedureWALFormatReader: No active entry found in state log 
> hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log.
>  removing it
> 2015-08-18 00:42:59,711 DEBUG [ndimiduk-rc-dist-1:60000.activeMasterManager] 
> wal.WALProcedureStore: Remove log: 
> hdfs://ndimiduk-rc-dist-1.openstacklocal:8020/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log
> {noformat}
> These log lines are raised immediately after performing an in-place master 
> upgrade from 0.98.0. Master initialized successfully and with no further 
> errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to