hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6359) NetworkTopology.chooseRandom(..) throws an IllegalArgumentException
Date Tue, 03 Nov 2009 20:17:32 GMT
NetworkTopology.chooseRandom(..) throws an IllegalArgumentException

                 Key: HADOOP-6359
                 URL: https://issues.apache.org/jira/browse/HADOOP-6359
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Tsz Wo (Nicholas), SZE

When numOfDatanodes == 0, NetworkTopology.chooseRandom(..) throws an IllegalArgumentException.
2009-09-30 00:12:50,768 ERROR org.mortbay.log: /nn_browsedfscontent.jsp
java.lang.IllegalArgumentException: n must be positive
        at java.util.Random.nextInt(Random.java:250)
        at org.apache.hadoop.net.NetworkTopology.chooseRandom(NetworkTopology.java:536)
        at org.apache.hadoop.net.NetworkTopology.chooseRandom(NetworkTopology.java:504)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message