You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/10/23 17:08:00 UTC
[jira] [Commented] (AMBARI-23355) Add Hive Service wizard shows
incorrect path for mysql driver in ambari-server setup command
[ https://issues.apache.org/jira/browse/AMBARI-23355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660980#comment-16660980 ]
Hudson commented on AMBARI-23355:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10243 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10243/])
[AMBARI-23355] Add Hive Service wizard shows incorrect path for mysql (jonathanhurley: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=464a5e887397232195536ed8fb180ad5a86a9ab5])
* (edit) ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
> Add Hive Service wizard shows incorrect path for mysql driver in ambari-server setup command
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-23355
> URL: https://issues.apache.org/jira/browse/AMBARI-23355
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: trunk
> Reporter: JaySenSharma
> Assignee: JaySenSharma
> Priority: Major
> Labels: ambari-web, pull-request-available
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> While installing Hive on Ambari it shows the message for installing driver with incorrect Driver JAR name in the setup command.
> {code}
> To use MySQL with Hive, you must download the https://dev.mysql.com/downloads/connector/j/ from MySQL. Once downloaded to the Ambari Server host, run:
> ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/mysql/com.mysql.jdbc.Driver
> {code}
> Notice the path is *"/path/to/mysql/com.mysql.jdbc.Driver"*, which is supposed to be *"/path/to/mysql/mysql-connector-java.jar"*
> So if the users will follow the instruction as it is, then it will cause the following error:
> {code}
> # ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/mysql/com.mysql.jdbc.Driver
> Using python /usr/bin/python
> Setup ambari-server
> ERROR: Exiting with exit code 1.
> REASON: File /path/to/mysql/com.mysql.jdbc.Driver does not exist!
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)