drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar...@apache.org
Subject [1/5] drill git commit: DRILL-5428: submit_plan fails after Drill 1.8 script revisions
Date Fri, 05 May 2017 13:27:25 GMT
Repository: drill
Updated Branches:
  refs/heads/master 1e0a14cc9 -> 41ffed50f


DRILL-5428: submit_plan fails after Drill 1.8 script revisions

When the other scripts were updated, submit_plan was not corrected.
After Drill 1.8, drill-config.sh consumes all command line arguments,
finds the —config and —site options, removes them, and places the rest
in the new args array.

This PR updates submit_plan to use the new args array.

The fix was tested on a test cluster: we verified that a physical plan
was submitted and ran.

closes #816


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/e1bc44c1
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/e1bc44c1
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/e1bc44c1

Branch: refs/heads/master
Commit: e1bc44c178dc1e05967834337033dd0430800630
Parents: 1e0a14c
Author: Paul Rogers <progers@maprtech.com>
Authored: Tue Apr 11 14:42:57 2017 -0700
Committer: Arina Ielchiieva <arina.yelchiyeva@gmail.com>
Committed: Fri May 5 15:41:46 2017 +0300

----------------------------------------------------------------------
 distribution/src/resources/submit_plan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/e1bc44c1/distribution/src/resources/submit_plan
----------------------------------------------------------------------
diff --git a/distribution/src/resources/submit_plan b/distribution/src/resources/submit_plan
index 86434bf..eab7215 100755
--- a/distribution/src/resources/submit_plan
+++ b/distribution/src/resources/submit_plan
@@ -22,4 +22,4 @@ bin=`cd -P "$bin">/dev/null; pwd`
 
 DRILL_SHELL_JAVA_OPTS="$DRILL_SHELL_JAVA_OPTS -Dlog.path=$DRILL_LOG_DIR/submitter.log -Dlog.query.path=$DRILL_LOG_DIR/submitter_queries.json"
 
-exec $JAVA $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP org.apache.drill.exec.client.QuerySubmitter
"$@"
+exec $JAVA $DRILL_SHELL_JAVA_OPTS $DRILL_JAVA_OPTS -cp $CP org.apache.drill.exec.client.QuerySubmitter
"${args[@]}"


Mime
View raw message