ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-7042) When using JDBC URL with connection modifiers in Ambari Hive conf, it fails with 'java.lang.ArrayIndexOutOfBoundsException'
Date Wed, 27 Aug 2014 17:49:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-7042:
--------------------------------------

    Attachment: AMBARI-7042.patch

> 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://dw-prd-hdp-gtwy-st001.va.neustar.com/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://dw-prd-hdp-gtwy-st001.va.neustar.com/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)

Mime
View raw message