[ 
https://issues.apache.org/jira/browse/HADOOP-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586718#action_12586718
 ] 

Vinod Kumar Vavilapalli commented on HADOOP-3145:
-------------------------------------------------

Thinking more about the interface, and re-reading what is earlier said(Arkady 
over mail to Hemanth) - "it is more generally assumed that -s option can take 
command, and not a file name". If that is the case, it makes more sense to have 
it done through the script sub-command itself. That would also mean adding no 
extra sub-commands, as well as using the code already in place.

As a aside, if we go with this, can hod.cmd also be a series of 
commands(separated by a semi-colon), and not just a single command ? Note that 
this is not an implementation detail, it is about how hod interface will be 
used; if series of commands is how users use it in general, then there will be 
redundant ways of doing it - a script file or  via hod.cmd.

> HOD command should allow to allow to specify a hadoop command in the command 
> line
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-3145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3145
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Arkady Borkovsky
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 0.16.3
>
>
> The current version allows only to specify a "script".
> So if one needs to generate a single command, one has to create a file for 
> this, which very inconvenient -- generating temp file name, printing, 
> deleting the file.
> It also incompatible with hod 0.3

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to