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

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

GitHub user sohami opened a pull request:

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

    DRILL-5685: Provide a way to set common environment variable between …

    …sqlline and Drillbit differently.

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

    $ git pull https://github.com/sohami/drill DRILL-5685

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

    https://github.com/apache/drill/pull/883.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 #883
    
----
commit 8ac4cb0f394c8849f13580cb37896cd6fe79a8f0
Author: Sorabh Hamirwasia <[email protected]>
Date:   2017-07-24T20:21:55Z

    DRILL-5685: Provide a way to set common environment variable between 
sqlline and Drillbit differently.

----


> Provide a way to set common environment variable between sqlline and Drillbit 
> differently.
> ------------------------------------------------------------------------------------------
>
>                 Key: DRILL-5685
>                 URL: https://issues.apache.org/jira/browse/DRILL-5685
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Sorabh Hamirwasia
>            Assignee: Sorabh Hamirwasia
>             Fix For: 1.12.0
>
>
> Drill has distrib-env.sh which is used to set any distribution specific 
> environment consumed by both sqlline and Drillbit. These environment 
> variables can be overridden by drill-env.sh. But there is no clean way to 
> know if these scripts were sourced for Drillbit or for sqlline, currently all 
> the variables will be set for both the scripts.
> With this JIRA we will introduce a separated environment variable 
> _DRILLBIT_CONTEXT_ which will only be set inside drillbit.sh. Based on this 
> variable any script called later in the pipeline can make decision's to 
> set/unset an environment variable or to set the common environment variable 
> differently for sqlline and Drillbit.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to