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

Ambari Agent does not register / heartbeat if "df" command hangs

    XMLWordPrintableJSON

Details

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

    Description

      The agent executes the "df" command when it starts up.
      In rare scenarios, this command can hang (can even hanging for several days without any timeout). When this happens the agent won't move forward to the process of registration, etc.
      There's an ambari-server property called agent.check.mounts.timeout. This can be defined to force a timeout.
      However, we should always have a default timeout on the agent script side, even if this property is not defined to avoid a situation where the agent is completely hung.

      Attachments

        1. AMBARI-12548.patch
          5 kB
          Dmytro Sen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: