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

After hdp-select failure Ambari won't retry resulting in most components failures with strange output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      STR:
      1\. I had hdp-select failed due to env issue

      resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh -H -E touch /var/lib/ambari-agent/data/hdp-select-set-all.performed ; ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.2 | tail -1`' returned 1. Traceback (most recent call last):
      File "/usr/bin/hdp-select", line 363, in ?
      setPackages(pkgs, args[2], options.rpm_mode)
      File "/usr/bin/hdp-select", line 256, in setPackages
      os.symlink(target + "/" + leaves[pkg], linkname)
      OSError: [Errno 17] File exists

      2\. I went and fixed the issue with my env
      3\. But Ambari didn't try again to run hdp-select again and attempt to start
      all the components, most of them failed with different strange error messages,
      which would be really hard to understand for a user.

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: