You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Boudnik (Resolved) (JIRA)" <ji...@apache.org> on 2011/09/28 03:28:45 UTC

[jira] [Resolved] (HDFS-2377) hdfs script reporting Unrecognized option: -jvm

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

Konstantin Boudnik resolved HDFS-2377.
--------------------------------------

    Resolution: Duplicate

This is dup of HDFS-1943
                
> hdfs script reporting Unrecognized option: -jvm
> -----------------------------------------------
>
>                 Key: HDFS-2377
>                 URL: https://issues.apache.org/jira/browse/HDFS-2377
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.22.0
>            Reporter: Roman Shaposhnik
>            Priority: Blocker
>             Fix For: 0.22.0
>
>
> DEPRECATED: Use of this script to execute hdfs command is deprecated.
> Instead use the hdfs command for it.
> Unrecognized option: -jvm
> Could not create the Java virtual machine.
> The following chunk of code in hdfs script looks suspicious:
> {noformat}
>  if [[ $EUID -eq 0 ]]; then
>     HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
>   else
>     HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
>   fi
> {noformat}
> I'm really not sure what was meant by it

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira