[
https://issues.apache.org/jira/browse/AMBARI-12876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712234#comment-14712234
]
Srimanth Gunturi commented on AMBARI-12876:
-------------------------------------------
+1 for patch
> JDBC DB connection url string for SQLA not working
> --------------------------------------------------
>
> Key: AMBARI-12876
> URL: https://issues.apache.org/jira/browse/AMBARI-12876
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.1.2
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Priority: Critical
> Fix For: 2.1.2
>
> Attachments: AMBARI-12876.patch
>
>
> Execution of below command gives error:
> {noformat}
> Execute['/usr/jdk64/jdk1.8.0_40/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/sajdbc4.jar:/usr/hdp/current/ranger-admin/ews/webapp/WEB-INF/lib/*
>
> org.apache.ambari.server.DBConnectionVerification
> 'jdbc:sqlanywhere:host=as-ranger-24-3.novalocal;database=ranger;uid={2};pwd={3}'
> rangeradmin [PROTECTED] sap.jdbc4.sqlanywhere.IDriver']
> {'environment': {'LD_LIBRARY_PATH': '/opt/sqlanywhere17/lib64'}, 'path':
> ['/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'], 'tries': 5, 'try_sleep': 10}
> {noformat}
> Ambari UI set jdbc connection url as
> {noformat}jdbc:sqlanywhere:host=as-ranger-24-3.novalocal;database=ranger;uid={2};pwd={3}{noformat}
> after removing {noformat}uid={2};pwd={3}{noformat} from connection url it
> worked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)