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

Ganglia Server goes to "installed" state after double "Ganglia rrdcached base directory" config changing

    XMLWordPrintableJSON

Details

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

    Description

      STR:
      1) Deploy cluster by default
      2) Go to Ganglia service page -> Config tab
      3) Change value "Ganglia rrdcached base directory" (e.g. /var/lib/ganglia/rrd8)
      4) Restart Ganglia
      5) Change "Ganglia rrdcached base directory" back to old value (by default - /var/lib/ganglia/rrds)
      6) Restart Ganglia

      Expected result: Ganglia should be restarted successfully
      Current result: Ganglia Server goes to "installed" state and stuck there

      Error message from gmetad file:

      =============================
      Starting hdp-gmetad...
      =============================
      Base directory (-b) resolved via file system links!
      Please consult rrdcached '-b' documentation!
      Consider specifying the real directory (/var/lib/ganglia/rrd8)
      chgrp: cannot access `/var/run/ganglia/hdp/rrdcached.sock': No such file or directory
      chgrp: cannot access `/var/run/ganglia/hdp/rrdcached.limited.sock': No such file or directory
      Failed to start /usr/bin/rrdcached
      Not starting /usr/sbin/gmetad because starting /usr/bin/rrdcached failed.
      
      root     16990  0.0  0.0 108164  1560 ?        S    03:19   0:00 /bin/bash --login -c service hdp-gmetad start >> /tmp/gmetad.log  2>&1 ; /bin/ps auwx | /bin/grep [g]metad  >> /tmp/gmetad.log  2>&1
      

      Attachments

        1. AMBARI-5264.patch
          8 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: