hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saptarshi Guha <saptarshi.g...@gmail.com>
Subject On CDH2, (Cloudera EC2) No valid local directories in property: mapred.local.dir
Date Fri, 19 Feb 2010 22:13:36 GMT
Hello,
Not sure if i should post this here or on Cloudera's message board,
but here goes.
When I run EC2 using the latest CDH2 and Hadoop 0.20 (by settiing the
env variables are hadoop-ec2),
and launch a job
hadoop jar ...

I get the following error


10/02/19 17:04:55 WARN mapred.JobClient: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the
same.
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:975)
	at org.apache.hadoop.mapred.JobConf.getLocalPath(JobConf.java:279)
	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:256)
	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:240)
	at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3026)
	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:966)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:962)
	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:960)

	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:841)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)

        at org.godhuli.f.RHMR.submitAndMonitorJob(RHMR.java:195)

but the value  of mapred.local.dir is "/mnt/hadoop/mapred/local"

Any ideas?

Mime
View raw message