Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> specifying command line args, but getting an NPE


Copy link to this message
-
Re: specifying command line args, but getting an NPE


> But if conf.set(...) is called after instantiating job, it doesn't.
>
> Is this intended?
>
yes, Configuration must be set up before instantiating the Job object. However,
some job parameters can be changed (before the actual job submission) by
calling set methods on Job object.

- Sharad