Re: Review Request 46903: Atlas Integration : Atlas start failed after removing old version of the atlas and installing new one

2016-05-02 Thread Nate Cole

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


Ship it!




Ship It!

- Nate Cole


On May 2, 2016, 3:42 p.m., Tom Beerbower wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46903/
> ---
> 
> (Updated May 2, 2016, 3:42 p.m.)
> 
> 
> Review request for Ambari, John Speidel and Nate Cole.
> 
> 
> Bugs: AMBARI-16204
> https://issues.apache.org/jira/browse/AMBARI-16204
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Upgrade from HDP 2.3 stack to 2.5. Stop and delete the Atlas service under 
> 2.3 and then reinstall it after you have upgraded to 2.5.
> 
> Atlas creates the /var/lib/atlas/server/webapp folder. After removing old 
> service and installing new version of the service the Atlas war file is 
> updated, but the unpacked folder is not. This causes errors like - Can't find 
> main class.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/configuration/application-properties.xml
>  f3ea36f 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/metainfo.xml 
> 5d7766b 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/files/users-credentials.properties
>  PRE-CREATION 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
>  43c1ea6 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py
>  4b08cbc 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
>  defd6f0 
>   
> ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/configuration/application-properties.xml
>  8412fc0 
>   
> ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/configuration/atlas-env.xml
>  a2ea7e5 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml 
> 92f198a 
>   ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py 
> cf18f92 
>   ambari-server/src/test/python/stacks/2.3/configs/default.json d423ce5 
>   ambari-server/src/test/python/stacks/2.3/configs/secure.json 89ab6f0 
>   ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py 83d4c5b 
>   ambari-server/src/test/python/stacks/2.5/configs/default.json 5188730 
> 
> Diff: https://reviews.apache.org/r/46903/diff/
> 
> 
> Testing
> ---
> 
> Manual test Atlas install.
> 
> Updated unit tests.
> 
> mvn clean test.
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>



Review Request 46903: Atlas Integration : Atlas start failed after removing old version of the atlas and installing new one

2016-05-02 Thread Tom Beerbower

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

Review request for Ambari, John Speidel and Nate Cole.


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


Repository: ambari


Description
---

Upgrade from HDP 2.3 stack to 2.5. Stop and delete the Atlas service under 2.3 
and then reinstall it after you have upgraded to 2.5.

Atlas creates the /var/lib/atlas/server/webapp folder. After removing old 
service and installing new version of the service the Atlas war file is 
updated, but the unpacked folder is not. This causes errors like - Can't find 
main class.


Diffs
-

  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/configuration/application-properties.xml
 f3ea36f 
  ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/metainfo.xml 
5d7766b 
  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/files/users-credentials.properties
 PRE-CREATION 
  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
 43c1ea6 
  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py
 4b08cbc 
  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
 defd6f0 
  
ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/configuration/application-properties.xml
 8412fc0 
  
ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/configuration/atlas-env.xml
 a2ea7e5 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml 
92f198a 
  ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py 
cf18f92 
  ambari-server/src/test/python/stacks/2.3/configs/default.json d423ce5 
  ambari-server/src/test/python/stacks/2.3/configs/secure.json 89ab6f0 
  ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py 83d4c5b 
  ambari-server/src/test/python/stacks/2.5/configs/default.json 5188730 

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


Testing
---

Manual test Atlas install.

Updated unit tests.

mvn clean test.


Thanks,

Tom Beerbower