ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <>
Subject Re: Review Request 38995: After hdp-select failure Ambari won't retry resulting in components failures with strange output
Date Mon, 05 Oct 2015 11:07:22 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 5, 2015, 11:07 a.m.)

Review request for Ambari and Vitalyi Brodetskyi.

Bugs: AMBARI-13309

Repository: ambari


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

    resource_management.core.exceptions.Fail: Execution of '  -H -E touch /var/lib/ambari-agent/data/hdp-select-set-all.performed
; /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.

Diffs (updated)

  ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/ 5d5926b



mvn clean test


Andrew Onischuk

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message