You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/11 21:43:41 UTC

[jira] [Commented] (DRILL-5428) submit_plan fails after Drill 1.8 script revisions

    [ https://issues.apache.org/jira/browse/DRILL-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964999#comment-15964999 ] 

ASF GitHub Bot commented on DRILL-5428:
---------------------------------------

GitHub user paul-rogers opened a pull request:

    https://github.com/apache/drill/pull/816

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paul-rogers/drill DRILL-5428

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/816.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #816
    
----
commit 49e653960e916bd3966487c5a3e1d7736281772e
Author: Paul Rogers <pr...@maprtech.com>
Date:   2017-04-11T21:42:57Z

    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.

----


> submit_plan fails after Drill 1.8 script revisions
> --------------------------------------------------
>
>                 Key: DRILL-5428
>                 URL: https://issues.apache.org/jira/browse/DRILL-5428
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>             Fix For: 1.11.0
>
>
> Drill provides the script {{submit_plan}} to submit a logical or physical plan for execution. It was used often early in Drill's history, but is seldom used now. It's primary use is when testing, to submit a plan received from {{EXPLAIN PLAN}}.
> The 1.8 release of Drill revised the launch scripts. That revision proposed dropping {{submit_plan}} from the released distribution. (DRILL-4752). In the end, we left the script in the distribution, but it was not tested.
> To make the script work, it needs a six-character tweak to reflect the changes made in other scripts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)