[ https://issues.apache.org/jira/browse/HADOOP-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712029#action_12712029 ]
Steve Loughran commented on HADOOP-5123: ---------------------------------------- looking at this and the configuration options, assuming everything is left to the XML files themselves. # set it up on the classpath that you declare the task. Easiest to do, and what I would start with # with a confdir attribute that points you at a configuration directory the second option is more flexible. If I were to do this (and one of my colleagues is pestering me for it), I'd do it as a contrib -it depends on both core and mapred, so once they get split up, it should be downstream of them. Nicely self contained, just need a cluster for testing. This could be done, incidentally, if the MiniMR cluster classes were moved from test/mapred to mapred, so I could add a <minimrcluster> task too. > 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 > Attachments: JobSubmitTask.java > > 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.