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

Trevor McKay updated AMBARI-3585:
---------------------------------

    Description: 
On Fedora/RHEL/CentOS, the javasqlite JDBC driver is packaged as part of the 
base system while the xerial sqlite-jdbc driver is not.

In current sources, the sqlite classes are not actually used.  Remove the 
pertinent code and the maven dependency on sqlite.


  was:
On Fedora/RHEL/CentOS, the javasqlite JDBC driver is packaged as part of the 
base system while the xerial sqlite-jdbc driver is not.

To facilitate packaging in Fedora and maintain current behavior for rpms built 
via maven, allow SQLiteConncetionFactory to load the "SQLite.JDBCDriver" class 
if loading "org.sqlite.jdbc" fails.

If both fail, report the original exception (class not found for 
org.sqlite.jdbc)


> Remove dependencies on sqlite
> -----------------------------
>
>                 Key: AMBARI-3585
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3585
>             Project: Ambari
>          Issue Type: Improvement
>          Components: controller
>    Affects Versions: 1.4.1
>         Environment: Fedora/RHEL
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>         Attachments: sqlite.patch
>
>
> On Fedora/RHEL/CentOS, the javasqlite JDBC driver is packaged as part of the 
> base system while the xerial sqlite-jdbc driver is not.
> In current sources, the sqlite classes are not actually used.  Remove the 
> pertinent code and the maven dependency on sqlite.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to