FAQ
Hi,
I changed some config. parameters in core-site/mapred.xml files and then
stopped dfs, mapred services.
While restarting them again, I am unable to do so and looking at the logs,
the following error occurs:

2011-04-12 17:27:39,343 INFO org.mortbay.log: Logging to
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
2011-04-12 17:27:39,453 ERROR org.apache.hadoop.mapred.TaskTracker: Can not
start task tracker because java.lang.NoClassDefFoundError:
org/json/JSONException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
org.apache.hadoop.metrics.ContextFactory.getContext(ContextFactory.java:132)
at
org.apache.hadoop.metrics.MetricsUtil.getContext(MetricsUtil.java:56)
at
org.apache.hadoop.metrics.MetricsUtil.getContext(MetricsUtil.java:45)
at
org.apache.hadoop.mapred.TaskTracker$ShuffleServerMetrics.(TaskTracker.java:917)
at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2834)
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 8 more

2011-04-12 17:27:39,455 INFO org.apache.hadoop.mapred.TaskTracker:
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down TaskTracker at inti79.cse.psu.edu/130.203.58.207
************************************************************/


Also, am unable to do namenode -format to fresh start the cluster.
Any suggestions please?

Thanks,
Bikash

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcommon-dev @
categorieshadoop
postedApr 12, '11 at 9:35p
activeApr 12, '11 at 9:39p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Bikash sharma: 2 posts

People

Translate

site design / logo © 2022 Grokbase