[
https://issues.apache.org/jira/browse/HADOOP-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667673#action_12667673
]
Steve Loughran commented on HADOOP-5123:
----------------------------------------
Looking at HADOOP-2788, its actually more advanced than what I was thinking, as
it
# tries to block the Ant run until the job is finished; extracts counters
afterwards
# does some classloader tricks to work out the JAR to include
I'm against the latter; more reliable to let the build file author point to the
right place.
The blocking-the-job thing is also something I'm doubtful about, at least
initially. Why? Because people will end up trying to use Ant as a long-lived
workflow tool and it isn't optimised for that, either in availability or even
memory management. People do try this - GridAnt is a case in point
[http://www.globus.org/cog/projects/gridant/], but we don't encourage it.
Better to move the workflow into the cluster and have some HA scheduler manage
the sequence.
> Ant tasks for job submission
> ----------------------------
>
> Key: HADOOP-5123
> URL: https://issues.apache.org/jira/browse/HADOOP-5123
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.21.0
> Environment: Both platforms, Linux and Windows
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Ant tasks to make it easy to work with hadoop filesystem and submit jobs.
> <submit> : uploads JAR, submits job as user, with various settings
> filesystem operations: mkdir, copyin, copyout, delete
> -We could maybe use Ant1.7 "resources" here, and so use hdfs as a source or
> dest in Ant's own tasks
> # security. Need to specify user; pick up user.name from JVM as default?
> # cluster binding: namenode/job tracker (hostname,port) or url are all that
> is needed?
> #job conf: how to configure the job that is submitted? support a list of
> <property name="name" value="something"> children
> # testing. AntUnit to generate <junitreport> compatible XML files
> # Documentation. With an example using Ivy to fetch the JARs for the tasks
> and hadoop client.
> # Polling: ant task to block for a job finished?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.