hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-2957) transactionsSinceLastLogRoll metric can throw IllegalStateException
Date Wed, 15 Feb 2012 23:10:00 GMT

     [ 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

        

Mime
View raw message