Re: Review Request 63036: AMBARI-22234 Optimizing Ranger KMS imports

2017-10-16 Thread Attila Doroszlai

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


Ship it!




Ship It!

- Attila Doroszlai


On Oct. 16, 2017, 6:54 p.m., Mugdha Varadkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63036/
> ---
> 
> (Updated Oct. 16, 2017, 6:54 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Gautam Borad, and Jonathan 
> Hurley.
> 
> 
> Bugs: AMBARI-22234
> https://issues.apache.org/jira/browse/AMBARI-22234
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Updating Ranger Kms script file and using proper methods for importing 
> modules.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py
>  fcf2478 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/1.0.0.3.0/package/scripts/kms_server.py
>  4c313c4 
> 
> 
> Diff: https://reviews.apache.org/r/63036/diff/1/
> 
> 
> Testing
> ---
> 
> Running tests for stack:None service:RANGER_KMS
> 2017-10-13 17:44:18,232 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,255 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_db_flavor_0_5_0_2_3 (test_db_flavor_config.TestDbFlavorConfig) ... 
> 2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> 2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> ok
> 2017-10-13 17:44:18,275 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,298 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) ... 
> 2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> 2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> ok
> 2017-10-13 17:44:18,314 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,337 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_unsupported_db_flavor_0_5_0_2_3 
> (test_db_flavor_config.TestDbFlavorConfig) ... ok
> 2017-10-13 17:44:18,344 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,367 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_unsupported_db_flavor_1_0_0_3_0 
> (test_db_flavor_config.TestDbFlavorConfig) ... ok
> 
> --
> Ran 4 tests in 0.147s
> 
> OK
> 
> 
> Thanks,
> 
> Mugdha Varadkar
> 
>



Re: Review Request 63036: AMBARI-22234 Optimizing Ranger KMS imports

2017-10-16 Thread Jonathan Hurley

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


Ship it!




Ship It!

- Jonathan Hurley


On Oct. 16, 2017, 12:54 p.m., Mugdha Varadkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63036/
> ---
> 
> (Updated Oct. 16, 2017, 12:54 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Gautam Borad, and Jonathan 
> Hurley.
> 
> 
> Bugs: AMBARI-22234
> https://issues.apache.org/jira/browse/AMBARI-22234
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Updating Ranger Kms script file and using proper methods for importing 
> modules.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py
>  fcf2478 
>   
> ambari-server/src/main/resources/common-services/RANGER_KMS/1.0.0.3.0/package/scripts/kms_server.py
>  4c313c4 
> 
> 
> Diff: https://reviews.apache.org/r/63036/diff/1/
> 
> 
> Testing
> ---
> 
> Running tests for stack:None service:RANGER_KMS
> 2017-10-13 17:44:18,232 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,255 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_db_flavor_0_5_0_2_3 (test_db_flavor_config.TestDbFlavorConfig) ... 
> 2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> 2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> ok
> 2017-10-13 17:44:18,275 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,298 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) ... 
> 2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> 2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
> default name mysql-connector-java.jar in ranger kms lib dir. So, db 
> connection check can fail. Please run 'ambari-server setup 
> --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'
> ok
> 2017-10-13 17:44:18,314 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,337 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_unsupported_db_flavor_0_5_0_2_3 
> (test_db_flavor_config.TestDbFlavorConfig) ... ok
> 2017-10-13 17:44:18,344 - Stack Feature Version Info: Cluster Stack=2.5, 
> Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
> 2017-10-13 17:44:18,367 - Using hadoop conf dir: 
> /usr/hdp/2.5.0.0-777/hadoop/conf
> test_unsupported_db_flavor_1_0_0_3_0 
> (test_db_flavor_config.TestDbFlavorConfig) ... ok
> 
> --
> Ran 4 tests in 0.147s
> 
> OK
> 
> 
> Thanks,
> 
> Mugdha Varadkar
> 
>



Review Request 63036: AMBARI-22234 Optimizing Ranger KMS imports

2017-10-16 Thread Mugdha Varadkar

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

Review request for Ambari, Gautam Borad and Jonathan Hurley.


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


Repository: ambari


Description
---

Updating Ranger Kms script file and using proper methods for importing modules.


Diffs
-

  
ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms_server.py
 fcf2478 
  
ambari-server/src/main/resources/common-services/RANGER_KMS/1.0.0.3.0/package/scripts/kms_server.py
 4c313c4 


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


Testing
---

Running tests for stack:None service:RANGER_KMS
2017-10-13 17:44:18,232 - Stack Feature Version Info: Cluster Stack=2.5, 
Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
2017-10-13 17:44:18,255 - Using hadoop conf dir: 
/usr/hdp/2.5.0.0-777/hadoop/conf
test_db_flavor_0_5_0_2_3 (test_db_flavor_config.TestDbFlavorConfig) ... 
2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
default name mysql-connector-java.jar in ranger kms lib dir. So, db connection 
check can fail. Please run 'ambari-server setup --jdbc-db={db_name} 
--jdbc-driver={path_to_jdbc} on server host.'
2017-10-13 17:44:18,262 - Error! Sorry, but we can't find jdbc driver with 
default name mysql-connector-java.jar in ranger kms lib dir. So, db connection 
check can fail. Please run 'ambari-server setup --jdbc-db={db_name} 
--jdbc-driver={path_to_jdbc} on server host.'
ok
2017-10-13 17:44:18,275 - Stack Feature Version Info: Cluster Stack=2.5, 
Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
2017-10-13 17:44:18,298 - Using hadoop conf dir: 
/usr/hdp/2.5.0.0-777/hadoop/conf
test_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) ... 
2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
default name mysql-connector-java.jar in ranger kms lib dir. So, db connection 
check can fail. Please run 'ambari-server setup --jdbc-db={db_name} 
--jdbc-driver={path_to_jdbc} on server host.'
2017-10-13 17:44:18,305 - Error! Sorry, but we can't find jdbc driver with 
default name mysql-connector-java.jar in ranger kms lib dir. So, db connection 
check can fail. Please run 'ambari-server setup --jdbc-db={db_name} 
--jdbc-driver={path_to_jdbc} on server host.'
ok
2017-10-13 17:44:18,314 - Stack Feature Version Info: Cluster Stack=2.5, 
Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
2017-10-13 17:44:18,337 - Using hadoop conf dir: 
/usr/hdp/2.5.0.0-777/hadoop/conf
test_unsupported_db_flavor_0_5_0_2_3 (test_db_flavor_config.TestDbFlavorConfig) 
... ok
2017-10-13 17:44:18,344 - Stack Feature Version Info: Cluster Stack=2.5, 
Command Stack=None, Command Version=2.5.0.0-777 -> 2.5.0.0-777
2017-10-13 17:44:18,367 - Using hadoop conf dir: 
/usr/hdp/2.5.0.0-777/hadoop/conf
test_unsupported_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) 
... ok

--
Ran 4 tests in 0.147s

OK


Thanks,

Mugdha Varadkar