FAQ
Hi All,

I was trying to run the program using HOD on a cluster, when I allocate
using 5 nodes, it runs fine, but when I allocate using 6 nodes, everytime I
tried to run a program, I get this error:

11/04/11 19:45:50 WARN conf.Configuration: 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
11/04/11 19:45:51 WARN mapred.JobClient: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the same.
11/04/11 19:45:51 INFO input.FileInputFormat: Total input paths to process :
1
Exception in thread "main" org.apache.hadoop.ipc.RemoteException:
java.io.IOException: No valid local directories in property:
mapred.local.dir
at
org.apache.hadoop.conf.Configuration.getLocalPath(Configuration.java:891)
at org.apache.hadoop.mapred.JobConf.getLocalPath(JobConf.java:280)
at org.apache.hadoop.mapred.JobInProgress.(JobInProgress.java:234)
at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:2993)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)

at org.apache.hadoop.ipc.Client.call(Client.java:740)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
at org.apache.hadoop.mapred.$Proxy0.submitJob(Unknown Source)
at
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:800)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
at Driver.main(Driver.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)


Any suggestion is greatly appreciated! Thanks!

Boyu

Search Discussions

  • Steve Loughran at Apr 12, 2011 at 3:50 pm

    On 11/04/2011 16:48, Boyu Zhang wrote:
    Exception in thread "main" org.apache.hadoop.ipc.RemoteException:
    java.io.IOException: No valid local directories in property:
    mapred.local.dir
    The job tracker can't find any of the local filesystem directories
    listed in the mapred.local.dir property, either the conf file or the
    machine is misconfigured
  • Sridhar basam at Apr 12, 2011 at 3:55 pm

    On Tue, Apr 12, 2011 at 11:49 AM, Steve Loughran wrote:

    The job tracker can't find any of the local filesystem directories listed
    in the mapred.local.dir property, either the conf file or the machine is
    misconfigured
    Is the mapred.local.dir a local directory or is it relative to the hdfs
    filesystem?

    Sridhar
  • Harsh J at Apr 12, 2011 at 4:43 pm
    Hello Sridhar,

    The mapred.local.dir values are considered as local directories.
    On Tue, Apr 12, 2011 at 9:25 PM, sridhar basam wrote:
    On Tue, Apr 12, 2011 at 11:49 AM, Steve Loughran wrote:

    The job tracker can't find any of the local filesystem directories listed
    in the mapred.local.dir property, either the conf file or the machine is
    misconfigured
    Is the mapred.local.dir a local directory or is it relative to the hdfs
    filesystem?

    Sridhar


    --
    Harsh J
  • Boyu Zhang at Apr 13, 2011 at 5:52 pm
    Thanks a lot for the comments, but I set the mapred.local.dir to /tmp which
    is a dir on every local machies.

    Still I got the same error, and I use the same conf file, with 3 nodes (I
    have this problem when use 4 nodes), I don't have the problem.

    Any idea what problem it may be? Thanks a lot. And I checked the /tmp dir
    is there and rwx for all the users.

    Thanks,
    Boyu
    On Tue, Apr 12, 2011 at 12:43 PM, Harsh J wrote:

    Hello Sridhar,

    The mapred.local.dir values are considered as local directories.
    On Tue, Apr 12, 2011 at 9:25 PM, sridhar basam wrote:
    On Tue, Apr 12, 2011 at 11:49 AM, Steve Loughran wrote:

    The job tracker can't find any of the local filesystem directories
    listed
    in the mapred.local.dir property, either the conf file or the machine is
    misconfigured
    Is the mapred.local.dir a local directory or is it relative to the hdfs
    filesystem?

    Sridhar


    --
    Harsh J

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedApr 11, '11 at 11:49p
activeApr 13, '11 at 5:52p
posts5
users4
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase