You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2016/12/14 16:22:39 UTC

Review Request 54750: LLAP app package cleanup fails after Hive Interactive start failure in non-root

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54750/
-----------------------------------------------------------

Review request for Ambari and Sumit Mohanty.


Bugs: AMBARI-19203
    https://issues.apache.org/jira/browse/AMBARI-19203


Repository: ambari


Description
-------

Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py", line 380, in _cleanup_past_llap_package_dirs
        shutil.rmtree(abs_path)
      File "/usr/lib64/python2.7/shutil.py", line 239, in rmtree
        onerror(os.listdir, path, sys.exc_info())
      File "/usr/lib64/python2.7/shutil.py", line 237, in rmtree
        names = os.listdir(path)
    OSError: [Errno 13] Permission denied: '/var/lib/ambari-agent/tmp/llap-slider2016-12-13_09-11-04'


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py e04c53c 

Diff: https://reviews.apache.org/r/54750/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk