You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Majid Azimi <ma...@gmail.com> on 2013/01/06 09:19:39 UTC
Correct way to create a Job instance?
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?
Re: Correct way to create a Job instance?
Posted by Harsh J <ha...@cloudera.com>.
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 <ma...@gmail.com> 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
Re: Correct way to create a Job instance?
Posted by Harsh J <ha...@cloudera.com>.
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 <ma...@gmail.com> 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
Re: Correct way to create a Job instance?
Posted by Harsh J <ha...@cloudera.com>.
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 <ma...@gmail.com> 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
Re: Correct way to create a Job instance?
Posted by Harsh J <ha...@cloudera.com>.
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 <ma...@gmail.com> 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