You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Libo Yu <yu...@hotmail.com> on 2014/05/10 22:33:22 UTC
question about job class
Hi
I have a question about the Job class.
Here is its declaration.
public class Job extends JobContextImpl implements JobContext
JobContextImpl already implements JobContext. Why is it declared here that Job implments JobContext?
Is it necessary? Thanks.
Libo
Re: question about job class
Posted by Raj K Singh <ra...@gmail.com>.
it's a plain design aspect of the new API to be used in more modular
fashion,In the new API(2.x.x) JobContextImpl Class available which
implement the JobContext interface,prior to this there is no
JobContextImpl class,api
provide the implementation of the jobcontext which was extended by the job
class.
::::::::::::::::::::::::::::::::::::::::
Raj K Singh
http://in.linkedin.com/in/rajkrrsingh
http://www.rajkrrsingh.blogspot.com
Mobile Tel: +91 (0)9899821370
On Sun, May 11, 2014 at 2:03 AM, Libo Yu <yu...@hotmail.com> wrote:
> Hi
>
> I have a question about the Job class.
> Here is its declaration.
> public class Job extends JobContextImpl implements JobContext
>
> JobContextImpl already implements JobContext. Why is it declared here that
> Job implments JobContext?
> Is it necessary? Thanks.
>
> Libo
>
Re: question about job class
Posted by Raj K Singh <ra...@gmail.com>.
it's a plain design aspect of the new API to be used in more modular
fashion,In the new API(2.x.x) JobContextImpl Class available which
implement the JobContext interface,prior to this there is no
JobContextImpl class,api
provide the implementation of the jobcontext which was extended by the job
class.
::::::::::::::::::::::::::::::::::::::::
Raj K Singh
http://in.linkedin.com/in/rajkrrsingh
http://www.rajkrrsingh.blogspot.com
Mobile Tel: +91 (0)9899821370
On Sun, May 11, 2014 at 2:03 AM, Libo Yu <yu...@hotmail.com> wrote:
> Hi
>
> I have a question about the Job class.
> Here is its declaration.
> public class Job extends JobContextImpl implements JobContext
>
> JobContextImpl already implements JobContext. Why is it declared here that
> Job implments JobContext?
> Is it necessary? Thanks.
>
> Libo
>
Re: question about job class
Posted by Raj K Singh <ra...@gmail.com>.
it's a plain design aspect of the new API to be used in more modular
fashion,In the new API(2.x.x) JobContextImpl Class available which
implement the JobContext interface,prior to this there is no
JobContextImpl class,api
provide the implementation of the jobcontext which was extended by the job
class.
::::::::::::::::::::::::::::::::::::::::
Raj K Singh
http://in.linkedin.com/in/rajkrrsingh
http://www.rajkrrsingh.blogspot.com
Mobile Tel: +91 (0)9899821370
On Sun, May 11, 2014 at 2:03 AM, Libo Yu <yu...@hotmail.com> wrote:
> Hi
>
> I have a question about the Job class.
> Here is its declaration.
> public class Job extends JobContextImpl implements JobContext
>
> JobContextImpl already implements JobContext. Why is it declared here that
> Job implments JobContext?
> Is it necessary? Thanks.
>
> Libo
>
Re: question about job class
Posted by Raj K Singh <ra...@gmail.com>.
it's a plain design aspect of the new API to be used in more modular
fashion,In the new API(2.x.x) JobContextImpl Class available which
implement the JobContext interface,prior to this there is no
JobContextImpl class,api
provide the implementation of the jobcontext which was extended by the job
class.
::::::::::::::::::::::::::::::::::::::::
Raj K Singh
http://in.linkedin.com/in/rajkrrsingh
http://www.rajkrrsingh.blogspot.com
Mobile Tel: +91 (0)9899821370
On Sun, May 11, 2014 at 2:03 AM, Libo Yu <yu...@hotmail.com> wrote:
> Hi
>
> I have a question about the Job class.
> Here is its declaration.
> public class Job extends JobContextImpl implements JobContext
>
> JobContextImpl already implements JobContext. Why is it declared here that
> Job implments JobContext?
> Is it necessary? Thanks.
>
> Libo
>