[
https://issues.apache.org/jira/browse/MAPREDUCE-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amareshwari Sriramadasu updated MAPREDUCE-777:
----------------------------------------------
Attachment: patch-777-4.txt
Patch changing the old JobClient to use the code in mapreduce package. Now the
old JobClient is just a wrapper for the public methods.
Patch also incorporates some of the comments from Philip.
bq. Are we settled on the name ClientProtocol? It's quite generic sounding,
and, without the package, hard to decipher. Since these protocols will be the
names of the public-ish wire APIs, perhaps JobClientProtocol would be more
descriptive.
The protocol has more than Job. It has methods to access cluster also.
bq. Some of Hadoop uses apache.commons.cli to parse command line arguments.
(And there's CLI2 too, referred to in Maven, though I don't see any usages of
it. You might consider using a command-line parsing library.
I also thought of this. But, this can be done in a seperate jira.
bq. I'm a little unsure about JobSubmitter being a separate class, seems to me
that since a Job can 'submit' itself
Since the submission code was huge, moved it to this private class.
Moved old submission code(writing old splits) also here, sothat the old
JobClient doesn't need to know about any submission logic.
> A method for finding and tracking jobs from the new API
> -------------------------------------------------------
>
> Key: MAPREDUCE-777
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-777
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Components: client
> Reporter: Owen O'Malley
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.21.0
>
> Attachments: m-777.patch, patch-777-1.txt, patch-777-2.txt,
> patch-777-3.txt, patch-777-4.txt, patch-777.txt
>
>
> We need to create a replacement interface for the JobClient API in the new
> interface. In particular, the user needs to be able to query and track jobs
> that were launched by other processes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.