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

Rolling restart should also handle clients on the same machine as the restarting component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • ambari-agent
    • None

    Description

      3-host cluster, c6401 has nn, c6402 and c6403 have datanodes + hdfs clients

      1. create host group in Hdfs
      2. put one host in the group (say c6403) that has datanode and hdfs client
      3. change datanode max java heap size so it only affects the datanode
      4. you'll see a restart is needed only on c6403 as expected (correct) for datanode and hdfs client
      5. Issue a rolling restart and only on hosts that need configs (so just one host)
      6. the works fine and it only restarts datanode c6403 as expected (correct)

      problem: hdfs client is not marked as restarted so i still see "1 HDFS Client" component requiring a restart on that host.

      Need to handle clients on the machines as well as part of rolling restart.

      Solution:
      Update client tags on Master/Slave component update in-memory and in individual files.

      Attachments

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: