hdfs script reporting Unrecognized option: -jvm -----------------------------------------------
Key: HDFS-2377 URL: https://issues.apache.org/jira/browse/HDFS-2377 Project: Hadoop HDFS Issue Type: Bug Reporter: Roman Shaposhnik 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: {nofromat} 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