Drill, mail # dev - git commit: Fix sqlline shell invocation so that it doesn't scan for a billion classes to find the match for the jdbc:drill: url. - 2014-05-04, 17:42
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
git commit: Fix sqlline shell invocation so that it doesn't scan for a billion classes to find the match for the jdbc:drill: url.
Repository: incubator-drill
Updated Branches:
  refs/heads/master 2ae4a5f0f -> 8cc45c9e0
Fix sqlline shell invocation so that it doesn't scan for a billion classes to find the match for the jdbc:drill: url.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/8cc45c9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/8cc45c9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/8cc45c9e

Branch: refs/heads/master
Commit: 8cc45c9e04a1d11947364e0db5d6ca5a716c19e9
Parents: 2ae4a5f
Author: Jacques Nadeau <[EMAIL PROTECTED]>
Authored: Sun May 4 10:42:49 2014 -0700
Committer: Jacques Nadeau <[EMAIL PROTECTED]>
Committed: Sun May 4 10:42:49 2014 -0700

 distribution/src/resources/sqlline | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/8cc45c9e/distribution/src/resources/sqlline
diff --git a/distribution/src/resources/sqlline b/distribution/src/resources/sqlline
index ff83ab1..0ad3b5c 100755
+++ b/distribution/src/resources/sqlline
@@ -39,7 +39,7 @@ DRILL_SHELL_JAVA_OPTS="$DRILL_SHELL_JAVA_OPTS -Dlog.path=$DRILL_LOG_DIR/sqlline.
 if [ -n "$QUERY" ] ; then
   echo $QUERY | exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine -d org.apache.drill.jdbc.Driver "${ARGS[@]}"
 elif [ -n "$FILE" ] ; then
-  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine "${ARGS[@]}" --run=$FILE
+  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine -d org.apache.drill.jdbc.Driver "${ARGS[@]}" --run=$FILE
 else
-  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine "${ARGS[@]}"
+  exec "$JAVA" $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP sqlline.SqlLine -d org.apache.drill.jdbc.Driver "${ARGS[@]}"
 fi
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB