[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-02-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367268#comment-16367268
 ] 

Hudson commented on AMBARI-22706:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-22706. Ranger installation fails (aonishuk) (aonishuk: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c432dde8c20977709d729655cf562dfb898ae760])
* (edit) 
ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-default.json
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-secured.json
* (edit) 
ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.2.0.3.0/package/scripts/params_linux.py
* (edit) 
ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-secured.json
* (edit) 
ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-upgrade.json
* (edit) 
ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/params.py
* (edit) ambari-server/src/test/python/stacks/2.5/RANGER_KMS/test_kms_server.py
* (edit) 
ambari-server/src/main/resources/common-services/RANGER_KMS/1.0.0.3.0/package/scripts/params.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-secured.json
* (edit) 
ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-default.json
* (edit) 
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-default.json
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
* (edit) 
ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/package/scripts/params.py
* (edit) ambari-server/src/main/resources/custom_actions/scripts/check_host.py
* (edit) 
ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json
* (edit) 
ambari-server/src/test/python/stacks/2.2/configs/ranger-usersync-upgrade.json
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/2.1.0.3.0/package/scripts/params_linux.py
* (edit) 
ambari-server/src/main/resources/common-services/SQOOP/1.4.4.3.0/package/scripts/params_linux.py
* (edit) ambari-server/src/test/python/common-services/configs/pxf_default.json
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
* (edit) 
ambari-server/src/main/resources/common-services/SQOOP/1.4.4.2.0/package/scripts/params_linux.py


> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-01-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322563#comment-16322563
 ] 

ASF GitHub Bot commented on AMBARI-22706:
-

aonishuk commented on issue #93: [AMBARI-22706] Ranger installation fails
URL: https://github.com/apache/ambari/pull/93#issuecomment-356994269
 
 
   Actually it gave me jenkins link for previous pull request. But anyway 
currently we have tests broken on feature branch. So failing jenkins is 
expected.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-01-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322556#comment-16322556
 ] 

ASF GitHub Bot commented on AMBARI-22706:
-

aonishuk closed pull request #93: [AMBARI-22706] Ranger installation fails
URL: https://github.com/apache/ambari/pull/93
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
index 78692cba45b..e7289a2bb6d 100644
--- 
a/ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py
@@ -256,13 +256,13 @@ def get_audit_configs(config):
   xa_audit_db_name = default('/configurations/admin-properties/audit_db_name', 
'ranger_audits')
 
   if xa_audit_db_flavor == 'mysql':
-jdbc_jar_name = default("/hostLevelParams/custom_mysql_jdbc_name", None)
-previous_jdbc_jar_name = 
default("/hostLevelParams/previous_custom_mysql_jdbc_name", None)
+jdbc_jar_name = default("/ambariLevelParams/custom_mysql_jdbc_name", None)
+previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_mysql_jdbc_name", None)
 audit_jdbc_url = format('jdbc:mysql://{xa_db_host}/{xa_audit_db_name}')
 jdbc_driver = "com.mysql.jdbc.Driver"
   elif xa_audit_db_flavor == 'oracle':
-jdbc_jar_name = default("/hostLevelParams/custom_oracle_jdbc_name", None)
-previous_jdbc_jar_name = 
default("/hostLevelParams/previous_custom_oracle_jdbc_name", None)
+jdbc_jar_name = default("/ambariLevelParams/custom_oracle_jdbc_name", None)
+previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_oracle_jdbc_name", None)
 colon_count = xa_db_host.count(':')
 if colon_count == 2 or colon_count == 0:
   audit_jdbc_url = format('jdbc:oracle:thin:@{xa_db_host}')
@@ -270,18 +270,18 @@ def get_audit_configs(config):
   audit_jdbc_url = format('jdbc:oracle:thin:@//{xa_db_host}')
 jdbc_driver = "oracle.jdbc.OracleDriver"
   elif xa_audit_db_flavor == 'postgres':
-jdbc_jar_name = default("/hostLevelParams/custom_postgres_jdbc_name", None)
-previous_jdbc_jar_name = 
default("/hostLevelParams/previous_custom_postgres_jdbc_name", None)
+jdbc_jar_name = default("/ambariLevelParams/custom_postgres_jdbc_name", 
None)
+previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_postgres_jdbc_name", None)
 audit_jdbc_url = 
format('jdbc:postgresql://{xa_db_host}/{xa_audit_db_name}')
 jdbc_driver = "org.postgresql.Driver"
   elif xa_audit_db_flavor == 'mssql':
-jdbc_jar_name = default("/hostLevelParams/custom_mssql_jdbc_name", None)
-previous_jdbc_jar_name = 
default("/hostLevelParams/previous_custom_mssql_jdbc_name", None)
+jdbc_jar_name = default("/ambariLevelParams/custom_mssql_jdbc_name", None)
+previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_mssql_jdbc_name", None)
 audit_jdbc_url = 
format('jdbc:sqlserver://{xa_db_host};databaseName={xa_audit_db_name}')
 jdbc_driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver"
   elif xa_audit_db_flavor == 'sqla':
-jdbc_jar_name = default("/hostLevelParams/custom_sqlanywhere_jdbc_name", 
None)
-previous_jdbc_jar_name = 
default("/hostLevelParams/previous_custom_sqlanywhere_jdbc_name", None)
+jdbc_jar_name = default("/ambariLevelParams/custom_sqlanywhere_jdbc_name", 
None)
+previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_sqlanywhere_jdbc_name", None)
 audit_jdbc_url = 
format('jdbc:sqlanywhere:database={xa_audit_db_name};host={xa_db_host}')
 jdbc_driver = "sap.jdbc4.sqlanywhere.IDriver"
   else: raise Fail(format("'{xa_audit_db_flavor}' db flavor not supported."))
diff --git 
a/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/params.py
 
b/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/params.py
index 49f73d78e45..5fe262a0101 100644
--- 
a/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/params.py
+++ 
b/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/params.py
@@ -111,7 +111,7 @@
 metadata_storage_url = 
config['configurations']['druid-common']['druid.metadata.storage.connector.connectURI']
 jdk_location = config['ambariLevelParams']['jdk_location']
 if 'mysql' == metadata_storage_type:
-  jdbc_driver_jar = default("/hostLevelParams/custom_mysql_jdbc_name", None)
+  jdbc_driver_jar = default("/ambari

[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-01-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322548#comment-16322548
 ] 

ASF GitHub Bot commented on AMBARI-22706:
-

aonishuk commented on issue #93: [AMBARI-22706] Ranger installation fails
URL: https://github.com/apache/ambari/pull/93#issuecomment-356991200
 
 
   Jenkins here runs tests on trunk for some reason not branch-3.0-perf.
   Which doesn't even have the changes, ignoring it.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-01-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322537#comment-16322537
 ] 

ASF GitHub Bot commented on AMBARI-22706:
-

aonishuk opened a new pull request #93: [AMBARI-22706] Ranger installation fails
URL: https://github.com/apache/ambari/pull/93
 
 
   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, 
remove this)
   
   Please review [Ambari Contributing 
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) 
before opening a pull request.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22706) Ranger installation fails

2018-01-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322518#comment-16322518
 ] 

Hadoop QA commented on AMBARI-22706:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12903900/AMBARI-22706.patch
  against trunk revision .

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/12949//console

This message is automatically generated.

> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22706) Ranger installation fails

2017-12-29 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-22706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306418#comment-16306418
 ] 

Hadoop QA commented on AMBARI-22706:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12903900/AMBARI-22706.patch
  against trunk revision .

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/12903//console

This message is automatically generated.

> Ranger installation fails
> -
>
> Key: AMBARI-22706
> URL: https://issues.apache.org/jira/browse/AMBARI-22706
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
> Fix For: 3.0.0
>
> Attachments: AMBARI-22706.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)