-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64117/
-----------------------------------------------------------
Review request for Ambari, Attila Doroszlai, Sid Wagle, and Vitalyi Brodetskyi.
Bugs: AMBARI-22529
https://issues.apache.org/jira/browse/AMBARI-22529
Repository: ambari
Description
-------
Fixes:
1\. On call to advisor NPE is raised since stack_advisor is not present and
ServiceAdvisorType is null
2\. Perf stack hooks cannot detect ambari_agent_cache_dir. Since it is
constant. We can remove all the complicated logic of calculating it via
PYTHONPATH.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java
f1c63bf717
ambari-server/src/main/resources/stacks/PERF/1.0/hooks/before-INSTALL/scripts/hook.py
833fdbc8ac
Diff: https://reviews.apache.org/r/64117/diff/1/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk