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

Switch to Threaded View
MapReduce >> mail # user >> Re: Correct way to create a Job instance?


Copy link to this message
-
Re: Correct way to create a Job instance?
A generic configuration is the one that takes its values from the
various *-site.xml resources on its classpath, or appropriately
pre-configured values for the cluster properties.

On Sun, Jan 6, 2013 at 1:49 PM, Majid Azimi <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Job API has three deprecated API. So the correct way to create a Job is:
>
> Job job = Job.getInstance(Configuration conf)
>
> is this correct?
>
> second question:
> Job API says: Job.getInstance() Creates a new Job with no particular
> Cluster. A Cluster will be created with a generic Configuration.
>
> What is generic Configuration?

--
Harsh J