You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/12/10 05:39:18 UTC

[jira] Created: (HADOOP-6428) HttpServer sleeps with negative values

HttpServer sleeps with negative values
--------------------------------------

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


In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
{noformat}
java.io.IOException: Problem starting http server
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
Caused by: java.lang.IllegalArgumentException: timeout value is negative
	at java.lang.Thread.sleep(Native Method)
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
{noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6428:
---------------------------------------

    Attachment: HADOOP-6428.0.20.patch

Correct .20 patch

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Commented: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789239#action_12789239 ] 

Hudson commented on HADOOP-6428:
--------------------------------

Integrated in Hadoop-Common-trunk #184 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/184/])
    . HttpServer sleeps with negative values. Contributed by Konstantin Boudnik


> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>             Fix For: 0.20.2, 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Commented: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788875#action_12788875 ] 

Konstantin Boudnik commented on HADOOP-6428:
--------------------------------------------

{noformat}
There appear to be 0 release audit warnings before the patch and 0 release audit warnings after applying the patch.

+1 overall.  
    +1 @author.  The patch does not contain any @author tags.
    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.
    +1 javadoc.  The javadoc tool did not generate any warning messages.
    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
    +1 findbugs.  The patch does not introduce any new Findbugs warnings.
    +1 release audit.  The applied patch does not increase the total number of release audit warnings.
{noformat}

Clearly doesn't have new tests.

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>             Fix For: 0.20.2, 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Commented: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788865#action_12788865 ] 

Hudson commented on HADOOP-6428:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #104 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/104/])
    . HttpServer sleeps with negative values. Contributed by Konstantin Boudnik


> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6428:
---------------------------------------

    Attachment: HADOOP-6428.patch

That should do it.

What have you been running to get to this problem? This is a side effect of HDFS-771 and is extremely hard to reproduce.

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik updated HADOOP-6428:
---------------------------------------

    Attachment: HADOOP-6428.0.20.patch

0.20 patch

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Resolved: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik resolved HADOOP-6428.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
                   0.21.0
                   0.20.2

I've just committed this

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>             Fix For: 0.20.2, 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-6428:
------------------------------------

    Release Note: Corrected arithmetic error that made sleep times less than zero.  (was: Arithmetic error made sleep times less than zero.)

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>             Fix For: 0.20.2, 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-6428:
-------------------------------------------

        Assignee: Konstantin Boudnik
    Hadoop Flags: [Reviewed]

+1 patch looks good.

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Updated: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-6428:
------------------------------------

    Release Note: Arithmetic error made sleep times less than zero.

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>             Fix For: 0.20.2, 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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


[jira] Commented: (HADOOP-6428) HttpServer sleeps with negative values

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788859#action_12788859 ] 

Konstantin Boudnik commented on HADOOP-6428:
--------------------------------------------

I also have ran all the common tests and they were successful (should've post it here before).

> HttpServer sleeps with negative values
> --------------------------------------
>
>                 Key: HADOOP-6428
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6428
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6428.0.20.patch, HADOOP-6428.0.20.patch, HADOOP-6428.patch
>
>
> In [this test report|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/82/testReport/org.apache.hadoop.hdfs/TestSmallBlock/testSmallBlockSimulatedStorage/]
> {noformat}
> java.io.IOException: Problem starting http server
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:521)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:369)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:315)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:306)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:412)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1235)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlock(TestSmallBlock.java:98)
> 	at org.apache.hadoop.hdfs.TestSmallBlock.testSmallBlockSimulatedStorage(TestSmallBlock.java:112)
> Caused by: java.lang.IllegalArgumentException: timeout value is negative
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:484)
> {noformat}

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