[
https://issues.apache.org/jira/browse/HDFS-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209555#comment-13209555
]
Suresh Srinivas commented on HDFS-2955:
---------------------------------------
@aaron - can you please add the test - which should have been part of HDFS-2943.
I believe this patch is good to go without tests, because it is a simple
change. Should we open another jira related to 2943 or perhaps reopen 2943.
> HA: IllegalStateException during standby startup in getCurSegmentTxId
> ---------------------------------------------------------------------
>
> Key: HDFS-2955
> URL: https://issues.apache.org/jira/browse/HDFS-2955
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Hari Mankude
> Assignee: Hari Mankude
> Attachments: HDFS-2955-HDFS-1623.patch, HDFS-2955-HDFS-1623.patch
>
>
> During standby restarts, a new routine getTransactionsSinceLastLogRoll() has
> been introduced for metrics which is calling getCurSegmentTxId().
> checkstate() in getCurSegmentTxId() assumes that log is opened for writing
> and this is not the case in standby.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira