yuanzac commented on a change in pull request #22: SUBMARINE-207. Exclude mysql 
jdbc jar from the path of workbench/lib.
URL: https://github.com/apache/hadoop-submarine/pull/22#discussion_r329408846
 
 

 ##########
 File path: bin/workbench-daemon.sh
 ##########
 @@ -88,6 +89,23 @@ function wait_for_workbench_to_die() {
   fi
 }
 
+function check_jdbc_jar() {
+  if [[ -d "${1}" ]]; then
+    mysql_connector_exists=$(find -L "${1}" -name "mysql-connector*")
+    if [[ -z "${mysql_connector_exists}" ]]; then
+      if [[ ${GET_MYSQL_JAR} = true ]]; then
+        get_mysql_jdbc_jar
+
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to