Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5511

Misleading hardcoded command in paragraph 2 on step "Manual commands" of "Move Master" wizard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • ambari-web
    • None

    Description

      STR:
      1. Deploy cluster with multiplied NN directory(in our case /grid/0/hadoop/hdfs/namenode, /grid/1/hadoop/hdfs/namenode).
      2. Start NN moving.
      3. Reach step "Manual commands".
      Actual results:
      Paragraph 1 contains information about all dirs we should move.
      Paragraph 2 contains message "Login to the target host XXX and change permissons for the NameNode dirs by running:" and only one command with hardcoded NN dir:

      chown -R hdfs:hadoop /hadoop/hdfs/namenode/
      

      Screenshot attached.

      When there are multiple directories specified, we need to show the actual path (but replace commas with a space).
      In case of "/grid/0/hadoop/hdfs/namenode,/grid/1/hadoop/hdfs/namenode" as in the attached image, we should display:

      chown -R hdfs:hadoop /grid/0/hadoop/hdfs/namenode /grid/1/hadoop/hdfs/namenode

      Attachments

        1. screenshot-2014-04-14-135538.jpg
          92 kB
          Antonenko Alexander
        2. AMBARI-5511.patch
          3 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: