You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/16 00:10:00 UTC
[jira] [Resolved] (HDFS-2957) transactionsSinceLastLogRoll metric
can throw IllegalStateException
[ https://issues.apache.org/jira/browse/HDFS-2957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HDFS-2957.
-------------------------------
Resolution: Duplicate
oops, this was duplicate of HDFS-2955 filed at almost the same time :)
> transactionsSinceLastLogRoll metric can throw IllegalStateException
> -------------------------------------------------------------------
>
> Key: HDFS-2957
> URL: https://issues.apache.org/jira/browse/HDFS-2957
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.24.0
> Reporter: Todd Lipcon
> Assignee: Aaron T. Myers
>
> 12/02/15 15:04:36 ERROR lib.MethodMetric: Error invoking method getTransactionsSinceLastLogRoll
> ...
> at org.apache.hadoop.metrics2.MetricsSystem.register(MetricsSystem.java:54)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startCommonServices(FSNamesystem.java:505)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.startCommonServices(NameNode.java:435)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:399)
> ...
> Caused by: java.lang.IllegalStateException: Bad state: OPEN_FOR_READING
> at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
> at org.apache.hadoop.hdfs.server.namenode.FSEditLog.getCurSegmentTxId(FSEditLog.java:417)
> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getTransactionsSinceLastLogRoll(FSNamesystem.java:3170)
--
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