hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bikash sharma <sharmabiks...@gmail.com>
Subject cluster restart error
Date Tue, 12 Apr 2011 21:34:33 GMT
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.<init>(TaskTracker.java:250)
        at org.apache.hadoop.mapred.TaskTracker.<init>(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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message