[
https://issues.apache.org/jira/browse/AMBARI-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112605#comment-14112605
]
Hudson commented on AMBARI-7042:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #45 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/45/])
AMBARI-7042. When using JDBC URL with connection modifiers in Ambari Hive conf,
it fails with java.lang.ArrayIndexOutOfBoundsException(vbrodetskyi)
(vbrodetskyi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e20f15b61e2d29321537602a4fed24b19db48fdd)
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_service.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
* ambari-server/src/test/python/TestCheckHost.py
* ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_server.py
* ambari-server/src/test/python/TestResourceFilesKeeper.py
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie_service.py
* ambari-server/src/main/resources/custom_actions/check_host.py
*
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/package/scripts/hive_service.py
* ambari-server/src/test/python/stacks/1.3.2/HIVE/test_hive_metastore.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py
*
ambari-server/src/test/resources/TestAmbaryServer.samples/dummy_stack/HIVE/package/scripts/hive_service.py
*
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/package/scripts/oozie_service.py
> When using JDBC URL with connection modifiers in Ambari Hive conf, it fails
> with 'java.lang.ArrayIndexOutOfBoundsException'
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-7042
> URL: https://issues.apache.org/jira/browse/AMBARI-7042
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.6.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Fix For: 1.7.0
>
> Attachments: AMBARI-7042.patch
>
>
> PROBLEM:
> When changing the following configuration in Ambari for Hive, it fails with
> the error below
> <property>
> <name>javax.jdo.option.ConnectionURL</name>
> <value>jdbc:postgresql://[host]/hive?ssl=true;sslmode=verify-full</value>
> </property>
> Fail: Execution of '/usr/java/default/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/postgresql-jdbc.jar
> org.apache.ambari.server.DBConnectionVerification
> jdbc:postgresql:/[host]>/hive?ssl=true;sslmode=verify-full sc_hive [password]
> org.postgresql.Driver' returned 127. Exception in thread "main"
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.apache.ambari.server.DBConnectionVerification.main(DBConnectionVerification.java:26)
> /bin/bash: sc_hive: command not found
> WORKAROUND:
> Workaround: (escape ';')
--
This message was sent by Atlassian JIRA
(v6.2#6252)