You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2009/03/07 03:30:56 UTC

[jira] Created: (HADOOP-5432) TestHdfsProxy fails on 0.20

TestHdfsProxy fails on 0.20
---------------------------

                 Key: HADOOP-5432
                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hdfsproxy
    Affects Versions: 0.20.0
            Reporter: Chris Douglas


TestHdfsProxy fails with the following exception:
{noformat}
09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
java.lang.NullPointerException
        at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
        at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
        at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
        at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
{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-5432) TestHdfsProxy fails on 0.20

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

Chris Douglas commented on HADOOP-5432:
---------------------------------------

My mistake. File a JIRA and attach the obvious fix.

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 0.20.0
>
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Kan Zhang commented on HADOOP-5432:
-----------------------------------

+1

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Hudson commented on HADOOP-5432:
--------------------------------

Integrated in Hadoop-trunk #778 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/778/])
    

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 0.20.0
>
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

zhiyong zhang commented on HADOOP-5432:
---------------------------------------

The unit test code in HdfsProxy.java
// unit testing
    sslConf.set("proxy.http.test.listener.addr",
                conf.get("proxy.http.test.listener.addr"));

In normal proxy start-up, if the conf file does not contain "proxy.http.test.listener.addr" property, the start will throw Null Pointer Exception

09/03/18 03:51:47 ERROR hdfsproxy.HdfsProxy: java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at java.util.Properties.setProperty(Properties.java:143)
        at org.apache.hadoop.conf.Configuration.set(Configuration.java:403)
        at org.apache.hadoop.hdfsproxy.HdfsProxy.initialize(HdfsProxy.java:71)
        at org.apache.hadoop.hdfsproxy.HdfsProxy.<init>(HdfsProxy.java:52)
        at org.apache.hadoop.hdfsproxy.HdfsProxy.createHdfsProxy(HdfsProxy.java:269)
        at org.apache.hadoop.hdfsproxy.HdfsProxy.main(HdfsProxy.java:277)


> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 0.20.0
>
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Hadoop QA commented on HADOOP-5432:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12401666/5432-0.patch
  against trunk revision 751870.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +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 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/38/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/38/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/38/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/38/console

This message is automatically generated.

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Chris Douglas updated HADOOP-5432:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I committed this.

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 0.20.0
>
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Chris Douglas updated HADOOP-5432:
----------------------------------

    Assignee: Chris Douglas
      Status: Patch Available  (was: Open)

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Chris Douglas updated HADOOP-5432:
----------------------------------

    Attachment: 5432-0.patch

Patches for 0.20 (5432-0v20.patch) and trunk. Modified ProxyHttpServer to use non-ssl listener for unit tests, ssl by default (rather than creating both and only using the non-ssl listener).

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>         Attachments: 5432-0.patch, 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {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-5432) TestHdfsProxy fails on 0.20

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

Chris Douglas updated HADOOP-5432:
----------------------------------

    Attachment: 5432-0v20.patch

> TestHdfsProxy fails on 0.20
> ---------------------------
>
>                 Key: HADOOP-5432
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5432
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>         Attachments: 5432-0v20.patch
>
>
> TestHdfsProxy fails with the following exception:
> {noformat}
> 09/03/06 18:28:05 ERROR mortbay.log: EXCEPTION 
> java.lang.NullPointerException
>         at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
>         at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
>         at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:420)
>         at org.apache.hadoop.hdfsproxy.HdfsProxy.start(HdfsProxy.java:96)
>         at org.apache.hadoop.hdfsproxy.TestHdfsProxy.testHdfsProxyInterface(TestHdfsProxy.java:232)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
> {noformat}

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