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

Review request for Ambari and John Speidel.


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


Repository: ambari


Description
-------

Atlas fails to come up with below error. This is because if ID information for 
all atlas instances is not generated and updated in 
atlas-application.properties.

    2016-06-14 10:48:23,249 WARN  - [main:] ~ Failed startup of context 
o.e.j.w.WebAppContext@2ad31d76{/,file:/grid/0/hdp/2.5.0.0-723/atlas/server/webapp/atlas/,STARTING}{/usr/hdp/current/atlas-server/server/webapp/atlas}
 (WebAppContext:514)
java.lang.RuntimeException: org.apache.atlas.AtlasException: Could not find 
server id for this instance. Unable to find IDs matching any local host and 
port binding among id1

Atlas-application.properties not updated with all other instance information 
leading to atlas startup failure


Diffs
-----

  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
 37236fe 
  
ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/configuration/application-properties.xml
 a5a63ba 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
614f0b1 
  ambari-server/src/test/python/stacks/2.5/common/test_stack_advisor.py 4085ad6 

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


Testing
-------

Manual test Atlas install and HA.  Verify configuration.

mvn clean test


Thanks,

Tom Beerbower

Reply via email to