hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8443) MiniDFSCluster Hangs
Date Tue, 29 May 2012 03:32:23 GMT

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

Harsh J commented on HADOOP-8443:
---------------------------------

Appears to be a hanging metrics thread:

{code}
java.lang.NullPointerException
	at org.apache.hadoop.hdfs.server.namenode.BlocksMap.size(BlocksMap.java:457)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlocksTotal(FSNamesystem.java:5046)
	at org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics.doUpdates(FSNamesystemMetrics.java:101)
	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(AbstractMetricsContext.java:293)
	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(AbstractMetricsContext.java:53)
	at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMetricsContext.java:258)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
{code}
                
> MiniDFSCluster Hangs
> --------------------
>
>                 Key: HADOOP-8443
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8443
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.0.2
>         Environment: Mac OSX 10.7.3
>            Reporter: Ivan Provalov
>         Attachments: hadoop-hanging.tar
>
>
> When using MiniDFSCluster in a unit test it works and terminates as expected.  However
creating and shutting it down from a main causes it to hang. 

--
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