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

Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, and Nate Cole.


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


Repository: ambari


Description
-------

After patching only YARN, ATS will fail to start with the following because it 
cannot find the correct Spark JARS:
```
2017-11-20 11:36:45,457 FATAL 
applicationhistoryservice.ApplicationHistoryServer 
(ApplicationHistoryServer.java:launchAppHistoryServer(177)) - Error starting 
ApplicationHistoryServer
java.lang.RuntimeException: No class defined for 
org.apache.spark.deploy.history.yarn.plugin.SparkATSPlugin
```

This is because Spark is configured via properties which currently use 
${hdp.version} which will match the version of YARN and not Spark.


Diffs
-----

  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
 4079f1866e 
  
ambari-server/src/main/resources/stacks/BigInsights/4.0/stack-advisor/stack_advisor_25.py
 7e77382e2b 
  
ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/configuration/yarn-site.xml
 b6fadcbec5 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
a3b8263454 
  ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/config-upgrade.xml 
45380728e3 
  
ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml
 f3cea4875d 
  ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml 
3bb6322fcb 
  ambari-server/src/test/python/stacks/2.5/common/test_stack_advisor.py 
bb11969a98 


Diff: https://reviews.apache.org/r/64090/diff/1/


Testing
-------

Manual install & upgrade

----------------------------------------------------------------------
Total run:1195
Total errors:0
Total failures:0
OK
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.118 s
[INFO] Finished at: 2017-11-27T13:47:56-05:00
[INFO] Final Memory: 21M/619M
[INFO] ------------------------------------------------------------------------


Thanks,

Jonathan Hurley

Reply via email to