hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Costa <psdc1...@gmail.com>
Subject Run MR unit tests in eclipse
Date Thu, 30 Dec 2010 17:45:06 GMT
Hi,

I'm trying to understand how can I execute the unit tests of MapReduce
in eclipse IDE.
I'm trying to execute the unit test class TestMapReduceLocal, but I
get errors that I pasted below.
How can I run the MR unit tests in eclipse IDE?

[code]
2010-12-30 17:39:19,703 WARN  conf.Configuration
(Configuration.java:<clinit>(175)) - DEPRECATED: hadoop-site.xml found
in the classpath. Usage of hadoop-site.xml is deprecated. Instead use
core-site.xml, mapred-site.xml and hdfs-site.xml to override
properties of core-default.xml, mapred-default.xml and
hdfs-default.xml respectively
Generating rack names for tasktrackers
Generating host names for tasktrackers
2010-12-30 17:39:19,871 INFO  mapred.JobTracker
(JobTracker.java:initializeTaskMemoryRelatedConfig(3838)) - Scheduler
configured with (memSizeForMapSlotOnJT, memSizeForReduceSlotOnJT,
limitMaxMemForMapTasks, limitMaxMemForReduceTasks) (-1, -1, -1, -1)
2010-12-30 17:39:19,905 INFO  metrics.RpcMetrics
(RpcMetrics.java:<init>(58)) - Initializing RPC Metrics with
hostName=JobTracker, port=51913
2010-12-30 17:39:19,982 INFO  mortbay.log (?:invoke0(?)) - Logging to
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
2010-12-30 17:39:20,033 ERROR mapred.MiniMRCluster
(MiniMRCluster.java:run(109)) - Job tracker crashed
java.lang.NullPointerException
	at java.io.File.<init>(File.java:239)
	at org.apache.hadoop.mapred.JobHistory.init(JobHistory.java:151)
	at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1607)
	at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:181)
	at org.apache.hadoop.mapred.MiniMRCluster$JobTrackerRunner.run(MiniMRCluster.java:106)
	at java.lang.Thread.run(Thread.java:636)
2010-12-30 17:39:20,852 INFO  mapred.MiniMRCluster
(MiniMRCluster.java:<init>(178)) - mapred.local.dir is
/home/xeon/hadoop/hadoop-0.20.1_bkp/src/test/build/test/mapred/local/0_0,/home/xeon/hadoop/hadoop-0.20.1_bkp/src/test/build/test/mapred/local/0_0,/home/xeon/hadoop/hadoop-0.20.1_bkp/src/test/build/test/mapred/local/0_0
2010-12-30 17:39:25,871 INFO  http.HttpServer
(HttpServer.java:start(421)) - Port returned by
webServer.getConnectors()[0].getLocalPort() before open() is -1.
Opening the listener on 0
2010-12-30 17:39:25,876 INFO  http.HttpServer
(HttpServer.java:start(426)) - listener.getLocalPort() returned 44580
webServer.getConnectors()[0].getLocalPort() returned 44580
2010-12-30 17:39:25,877 INFO  http.HttpServer
(HttpServer.java:start(459)) - Jetty bound to port 44580
2010-12-30 17:39:25,879 INFO  mortbay.log (?:invoke0(?)) - jetty-6.1.14
2010-12-30 17:39:25,917 INFO  mortbay.log (?:invoke0(?)) - Extract
jar:file:/home/xeon/hadoop/hadoop-0.20.1_bkp/build/hadoop-0.20.2-dev-core.jar!/webapps/task
to /tmp/Jetty_0_0_0_0_44580_task____.2ibjhx/webapp
2010-12-30 17:39:26,196 ERROR mortbay.log (?:invoke0(?)) - failed jsp
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:73)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:99)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
	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:460)
	at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:988)
	at org.apache.hadoop.mapred.MiniMRCluster$TaskTrackerRunner.<init>(MiniMRCluster.java:180)
	at org.apache.hadoop.mapred.MiniMRCluster.startTaskTracker(MiniMRCluster.java:645)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:472)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:416)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:408)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:398)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:388)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:378)
	at org.apache.hadoop.mapreduce.TestMapReduceLocal.testWithLocal(TestMapReduceLocal.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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.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:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.el.VariableResolver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 57 more
2010-12-30 17:39:26,203 ERROR mortbay.log (?:invoke0(?)) - failed
org.mortbay.jetty.webapp.WebAppContext@147358f{/,jar:file:/home/xeon/hadoop/hadoop-0.20.1_bkp/build/hadoop-0.20.2-dev-core.jar!/webapps/task}
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:73)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:99)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
	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:460)
	at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:988)
	at org.apache.hadoop.mapred.MiniMRCluster$TaskTrackerRunner.<init>(MiniMRCluster.java:180)
	at org.apache.hadoop.mapred.MiniMRCluster.startTaskTracker(MiniMRCluster.java:645)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:472)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:416)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:408)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:398)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:388)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:378)
	at org.apache.hadoop.mapreduce.TestMapReduceLocal.testWithLocal(TestMapReduceLocal.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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.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:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.el.VariableResolver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 57 more
2010-12-30 17:39:26,205 ERROR mortbay.log (?:invoke0(?)) - failed
ContextHandlerCollection@d5eb7
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:73)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:99)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
	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:460)
	at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:988)
	at org.apache.hadoop.mapred.MiniMRCluster$TaskTrackerRunner.<init>(MiniMRCluster.java:180)
	at org.apache.hadoop.mapred.MiniMRCluster.startTaskTracker(MiniMRCluster.java:645)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:472)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:416)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:408)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:398)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:388)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:378)
	at org.apache.hadoop.mapreduce.TestMapReduceLocal.testWithLocal(TestMapReduceLocal.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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.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:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.el.VariableResolver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 57 more
2010-12-30 17:39:26,207 ERROR mortbay.log (?:invoke0(?)) - Error
starting handlers
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:73)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:99)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
	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:460)
	at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:988)
	at org.apache.hadoop.mapred.MiniMRCluster$TaskTrackerRunner.<init>(MiniMRCluster.java:180)
	at org.apache.hadoop.mapred.MiniMRCluster.startTaskTracker(MiniMRCluster.java:645)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:472)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:416)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:408)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:398)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:388)
	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:378)
	at org.apache.hadoop.mapreduce.TestMapReduceLocal.testWithLocal(TestMapReduceLocal.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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.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:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.el.VariableResolver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 57 more
2010-12-30 17:39:26,224 INFO  mortbay.log (?:invoke0(?)) - Started
SelectChannelConnector@0.0.0.0:44580
2010-12-30 17:39:26,229 INFO  jvm.JvmMetrics
(JvmMetrics.java:init(71)) - Initializing JVM Metrics with
processName=TaskTracker, sessionId=
2010-12-30 17:39:26,233 INFO  metrics.RpcMetrics
(RpcMetrics.java:<init>(58)) - Initializing RPC Metrics with
hostName=TaskTracker, port=43220
2010-12-30 17:39:26,234 INFO  ipc.Server (Server.java:run(471)) - IPC
Server Responder: starting
2010-12-30 17:39:26,235 INFO  ipc.Server (Server.java:run(934)) - IPC
Server handler 0 on 43220: starting
2010-12-30 17:39:26,235 INFO  ipc.Server (Server.java:run(313)) - IPC
Server listener on 43220: starting
2010-12-30 17:39:26,238 INFO  ipc.Server (Server.java:run(934)) - IPC
Server handler 1 on 43220: starting
2010-12-30 17:39:26,238 INFO  ipc.Server (Server.java:run(934)) - IPC
Server handler 2 on 43220: starting
2010-12-30 17:39:26,238 INFO  mapred.TaskTracker
(TaskTracker.java:initialize(518)) - TaskTracker up at:
localhost.localdomain/127.0.0.1:43220
2010-12-30 17:39:26,239 INFO  mapred.TaskTracker
(TaskTracker.java:initialize(521)) - Starting tracker
tracker_host0.foo.com:localhost.localdomain/127.0.0.1:43220
2010-12-30 17:39:26,239 INFO  ipc.Server (Server.java:run(934)) - IPC
Server handler 3 on 43220: starting
2010-12-30 17:39:27,296 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 0 time(s).
2010-12-30 17:39:28,298 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 1 time(s).
2010-12-30 17:39:29,299 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 2 time(s).
2010-12-30 17:39:30,311 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 3 time(s).
2010-12-30 17:39:31,312 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 4 time(s).
2010-12-30 17:39:32,314 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 5 time(s).
2010-12-30 17:39:33,315 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 6 time(s).
2010-12-30 17:39:34,317 INFO  ipc.Client
(Client.java:handleConnectionFailure(368)) - Retrying connect to
server: localhost/127.0.0.1:0. Already tried 7 time(s).
[/code]

-- 
Pedro

Mime
View raw message