hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1475) Unit testing from Eclipse, occasional delay on cluster tests from datanode webapps errors
Date Tue, 02 Jun 2009 18:13:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715609#action_12715609
] 

Jonathan Gray commented on HBASE-1475:
--------------------------------------

After it unblocks, the log continues as:

{noformat}
Starting DataNode 1 with dfs.data.dir: /home/jgray/src/hbase-0.20.0-1304/hbase/build/hbase/test/dfs/data/data3,/home/jgray/src/hbase-0.20.0-1304/hbase/build/hbase/test/dfs/data/data4
2009-06-02 10:11:14.138::INFO:  jetty-6.1.14
2009-06-02 10:11:14.144::WARN:  Web application not found file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode
2009-06-02 10:11:14.144::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@7f2e7c6a{/,file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode}
java.io.FileNotFoundException: file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode
	at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
	at org.mortbay.jetty.webapp.WebAppContext.getWebInf(WebAppContext.java:793)
	at org.mortbay.jetty.webapp.WebInfConfiguration.configureClassLoader(WebInfConfiguration.java:62)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:456)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:222)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:453)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:375)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:216)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1283)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1238)
	at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:414)
	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278)
	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
	at org.apache.hadoop.hbase.HBaseClusterTestCase.setUp(HBaseClusterTestCase.java:122)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	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 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
2009-06-02 10:11:14.148::INFO:  Started SelectChannelConnector@localhost:40282
2009-06-02 10:11:14,491 DEBUG [main] util.FSUtils(198): Created version file to: hdfs://localhost:60582/user/jgray
2009-06-02 10:11:14,592 ERROR [main] zookeeper.ZooKeeperWrapper(155): fail to read properties
from zoo.cfg
2009-06-02 10:11:14,607 INFO  [main] master.HMaster(179): My address is xx:60000
2009-06-02 10:11:14,645 INFO  [main] master.HMaster(274): BOOTSTRAP: creating ROOT and first
META regions
{noformat}

> Unit testing from Eclipse, occasional delay on cluster tests from datanode webapps errors
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-1475
>                 URL: https://issues.apache.org/jira/browse/HBASE-1475
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Minor
>
> This does not happen every time I run a cluster test, but probably 75% of the time.
> {noformat}
> 2009-06-02 09:58:32.365::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> 2009-06-02 09:58:32.425::INFO:  jetty-6.1.14
> 2009-06-02 09:58:32.454::WARN:  Web application not found file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/hdfs
> 2009-06-02 09:58:32.454::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@7ed75415{/,file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/hdfs}
> java.io.FileNotFoundException: file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/hdfs
> 	at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
> 	at org.mortbay.jetty.webapp.WebAppContext.getWebInf(WebAppContext.java:793)
> 	at org.mortbay.jetty.webapp.WebInfConfiguration.configureClassLoader(WebInfConfiguration.java:62)
> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:456)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> 	at org.mortbay.jetty.Server.doStart(Server.java:222)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:453)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:246)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:955)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
> 	at org.apache.hadoop.hbase.HBaseClusterTestCase.setUp(HBaseClusterTestCase.java:122)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	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.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> 2009-06-02 09:58:32.497::INFO:  Started SelectChannelConnector@localhost:34719
> Starting DataNode 0 with dfs.data.dir: /home/jgray/src/hbase-0.20.0-1304/hbase/build/hbase/test/dfs/data/data1,/home/jgray/src/hbase-0.20.0-1304/hbase/build/hbase/test/dfs/data/data2
> 2009-06-02 09:58:32.678::INFO:  jetty-6.1.14
> 2009-06-02 09:58:32.683::WARN:  Web application not found file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode
> 2009-06-02 09:58:32.683::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@6f7cf6b6{/,file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode}
> java.io.FileNotFoundException: file:/home/jgray/src/hbase-0.20.0-1304/hbase/bin/webapps/datanode
> 	at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
> 	at org.mortbay.jetty.webapp.WebAppContext.getWebInf(WebAppContext.java:793)
> 	at org.mortbay.jetty.webapp.WebInfConfiguration.configureClassLoader(WebInfConfiguration.java:62)
> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:456)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> 	at org.mortbay.jetty.Server.doStart(Server.java:222)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:453)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:375)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:216)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1283)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1238)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:414)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
> 	at org.apache.hadoop.hbase.HBaseClusterTestCase.setUp(HBaseClusterTestCase.java:122)
> 	at junit.framework.TestCase.runBare(TestCase.java:125)
> 	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.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> 2009-06-02 09:58:32.688::INFO:  Started SelectChannelConnector@localhost:47838
> {noformat}
> It holds there for about 30 seconds.  If I rerun the test, the delay usually goes away.
 Even when there is no delay, I still get this error at the beginning of the cluster spin
up.

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


Mime
View raw message