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

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

   - Interface: The second interface ( hod cmd -d cluster-dir -n nodes 
--hod.cmd "hadoop jar hadoop-examples.jar wordcount input output" ) looks 
clearer, piggybacking it into script sub-command doesn't look natural(to me 
atleast).
   - Hadoop Home: +1 for the suggestion to pick it from path if relative, and 
use it directly if it is an absolute path. Even while using a simple allocate 
command, user has to untar his/her tarball and set the path accordingly to run 
hadoop commands, so this is inline with regular usage.
   - Putting the command in quotes is the way it used to be hod 0.3(internal 
version) : hod -m 3 -a 'run jar ...' . So this should be ok, just that users 
have to realise it will be passed, as is, to the shell without any 
interpretation by HOD. Double quotes are more useful(than single quotes) as 
shell can expand any parameters present.

> 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