Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4822

Extend distrib-env.sh search to consider site directory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      DRILL-4581 provided revisions to the Drill launch scripts. As part of that fix, we introduced a new distrib-env.sh file to hold settings created by custom Drill installers (that is, by custom distributions.) The original version of this feature looks for distrib-env.sh only in $DRILL_HOME/env.

      Experience suggests that installers will write site-specific values to distrib-env.sh and so the file must then be copied to $DRILL_SITE when running under YARN. Add $DRILL_SITE to the search path in drill-config.sh for distrib-env.sh.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paul-rogers Paul Rogers
                Reporter:
                paul-rogers Paul Rogers
                Reviewer:
                Abhishek Girish
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: