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

Start-dfs.sh cannot pass the parameters correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: datanode, namenode
    • Labels:
      None

      Description

      There is a typo, which I found during my upgrade test. I've uploaded the patch here.

        nameStartOpt="$nameStartOpts $@ 
      

      it should be:

        nameStartOpt="$nameStartOpt $@
      

      otherwise, some parameters will be ignored, such as: -upgrade, -rollback

        Attachments

        1. HDFS-4917.patch
          0.5 kB
          Fengdong Yu

          Issue Links

            Activity

              People

              • Assignee:
                azuryy Fengdong Yu
                Reporter:
                azuryy Fengdong Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: