hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zemerick (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2449) Allow for command line arguments when performing "Run on Hadoop" action.
Date Sun, 15 May 2011 13:37:47 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033686#comment-13033686
] 

Jeff Zemerick commented on MAPREDUCE-2449:
------------------------------------------

The call to getAttribute can throw a CoreException if it can't retrieve the value we're looking
for, or if that value is not the type we are expecting (a String in this case). Typically,
the catch block would be used to set some default value, but I did not do that since the default
value in this case is just an empty string (no parameters). I don't think it's necessary to
throw an RTE. When the run configuration is executed it will overwrite the existing one, so
if the value was invalid for some reason it will be overwritten.

> Allow for command line arguments when performing "Run on Hadoop" action.
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2449
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2449
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.2
>         Environment: Eclipse 3.6, Ubuntu 9.04
>            Reporter: Jeff Zemerick
>            Priority: Minor
>              Labels: features, patch
>         Attachments: MAPREDUCE-2449.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> It is currently not possible to specify command line arguments when creating a run configuration
for "Run on Hadoop." This patch adds a text box to the RunOnHadoopWizard dialog for providing
command line arguments. The arguments are then stored as part of the run configuration. Additionally
(as a result), this patch prevents the creation of duplicate run configuration creation by
seeing if the original configuration has been changed first.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message