drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5685) Provide a way to set common environment variable between sqlline and Drillbit differently.
Date Tue, 15 Aug 2017 13:45:01 GMT

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

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

Github user asfgit closed the pull request at:

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


> 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
>              Labels: ready-to-commit
>             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)

Mime
View raw message