hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuja Rehman <shujamug...@gmail.com>
Subject java.lang.NullPointerException at org.apache.hadoop.conf.Configuration.getLocalPath(Configuration.java:1089)
Date Wed, 20 Apr 2011 20:20:37 GMT
Hi All,

I am trying to run a map reduce job and it is running perfectly from cmd
using following command

hadoop jar Processor.jar  arg1 arg2

but when i schedule the same job in oozie, it is giving me following
exception.

Apr 20, 2011 12:49:34 PM NightProcessor.ProcessorDriver main
SEVERE: null
java.lang.NullPointerException
	at org.apache.hadoop.conf.Configuration.getLocalPath(Configuration.java:1089)
	at org.apache.hadoop.mapred.JobConf.getLocalPath(JobConf.java:476)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.java:113)
	at org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:424)
	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:904)
	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:833)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:833)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:476)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:506)
	at NightProcessor.ProcessorDriver.runAlertJob(ProcessorDriver.java:366)
	at NightProcessor.ProcessorDriver.main(ProcessorDriver.java:503)
	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.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:390)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:390)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:324)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115)
	at org.apache.hadoop.mapred.Child.main(Child.java:262)

------------------------------

I am not sure why oozie is unable to run the job.
Any hint???????????????

Thanks in advance

-- 
Regards
Shuja-ur-Rehman Baig
<http://pk.linkedin.com/in/shujamughal>

Mime
View raw message