Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2377

hdfs script reporting Unrecognized option: -jvm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 0.22.0
    • 0.22.0
    • scripts
    • None

    Description

      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:

       if [[ $EUID -eq 0 ]]; then
          HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
        else
          HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
        fi
      

      I'm really not sure what was meant by it

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rvs Roman Shaposhnik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: