hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bikash sharma <sharmabiks...@gmail.com>
Subject Re: cluster restart error
Date Tue, 12 Apr 2011 21:38:44 GMT
p.s.
Also, am unable to connect while doing hadoop/bin/hadoop fs -ls with the
following error:

inti76.cse.psu.edu: starting tasktracker, logging to
/i3c/hpcl/bus145/cse598g/hadoop/bin/../logs/hadoop-bus145-tasktracker-inti76.cse.psu.edu.out
inti79.cse.psu.edu 36% hadoop/bin/hadoop fs -ls
11/04/12 17:37:34 INFO ipc.Client: Retrying connect to server:
inti79.cse.psu.edu/130.203.58.207:54310. Already tried 0 time(s).
11/04/12 17:37:35 INFO ipc.Client: Retrying connect to server:
inti79.cse.psu.edu/130.203.58.207:54310. Already tried 1 time(s).
11/04/12 17:37:36 INFO ipc.Client: Retrying connect to server:
inti79.cse.psu.edu/130.203.58.207:54310. Already tried 2 time(s).


On Tue, Apr 12, 2011 at 5:34 PM, bikash sharma <sharmabiks.07@gmail.com>wrote:

> 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