[ 
https://issues.apache.org/jira/browse/HADOOP-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hemanth Yamijala resolved HADOOP-3004.
--------------------------------------

    Resolution: Invalid

I see the issue. Basically hod isn't doing anything with respect to normalizing 
~/clusterdir to /home/user/clusterdir. It relies on the shell to do it. When we 
specify an option as --hod.clusterdir=~/clusterdir, the shell is not expanding 
it, while it is, when we specify it as --hod.clusterdir ~/clusterdir. And this 
not just with hod. Try the same with standard linux commands like tar, cp etc. 
For e.g. cp --target-directory=~/abc doesn't work while cp --target-directory 
~/abc does.

So, closing this as not a bug.

> HOD allocate command does not accept '~'
> ----------------------------------------
>
>                 Key: HADOOP-3004
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3004
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: lohit vijayarenu
>
> hod allocate seems to throw error when I specify directory relative to my home
> [EMAIL PROTECTED] hod allocate --hod.clusterdir="~/clusterdir" 
> --hod.nodecount=5
> error: bin/hod failed to start.
> error: invalid 'clusterdir' specified in section hod (--hod.clusterdir): 
> ~/clusterdir
> error: 1 problem found.
> Check your command line options and/or your configuration file /hod/conf/hodrc

-- 
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