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

Drill should support user/distribution specific configuration checks during startup

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • None

    Description

      This is an evolution of the problem stated in DRILL-5741.

      Currently, Drill does not leverage any information about the host machine during start up and makes assumptions about the available resources (like memory).
      Further more, it is, often, up to the user to define the individual parameters of memory for Drill: Heap, Direct and CodeCache.

      The idea is to introduce a distribution and user specific configuration checking scripts (distrib-auto.sh and drill-auto.sh) which follow the same precedence as on the lines of distrib-env.sh and drill-env.sh.

      A check for the existence of the `distrib-auto.sh` / `drill-auto.sh` scripts will be performed and executed only if there is any executable lines of code. Otherwise, the expected behaviour is that the startup functionality Drill will continue as previous versions.

      In combination with the requirement described for DRILL-5741; it would be nice if a starting up Drillbit could be told upfront on the amount of memory it can assume to access and automatically perform the allocations for the individual parameters, while providing the ability for users to override (some or all of) those settings.

      Attachments

        Issue Links

          Activity

            People

              kkhatua Kunal Khatua
              kkhatua Kunal Khatua
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: