hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinghui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10222) TestSSLHttpServer creates ssl-server.xml in hadoop-common test classes without cleaning up
Date Wed, 12 Mar 2014 17:34:48 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jinghui Wang updated HADOOP-10222:
----------------------------------

    Summary: TestSSLHttpServer creates ssl-server.xml in hadoop-common test classes without
cleaning up  (was: estSSLHttpServer creates ssl-server.xml in hadoop-common test classes without
cleaning up)

> TestSSLHttpServer creates ssl-server.xml in hadoop-common test classes without cleaning
up
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10222
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10222
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>    Affects Versions: 2.2.0
>            Reporter: Jinghui Wang
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HADOOP-10222.patch
>
>
> TestSSLHttpServer creates ssl-server.xml hadoop-common test-classes without cleaning
up. Other tests could pick up the ssl-server configuration file and get the wrong keystore
and truststore.
> Got the following exception while running org.apache.hadoop.hdfs.TestNameNodeHttpServer
and the cause is TestNameNodeHttpServer is picking up the ssl-server.xml file written by TestSSLHttpServer
> java.io.IOException: Keystore was tampered with, or password was incorrect
> 	at com.ibm.crypto.provider.JavaKeyStore.engineLoad(Unknown Source)
> 	at java.security.KeyStore.load(KeyStore.java:414)
> 	at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:246)
> 	at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:476)
> 	at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
> 	at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
> 	at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.Server.doStart(Server.java:235)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:692)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:158)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:626)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:488)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:684)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:669)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1254)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:893)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:784)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:642)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:334)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:316)
> 	at org.apache.hadoop.hdfs.TestNameNodeHttpServer.testSslConfiguration(TestNameNodeHttpServer.java:38)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message