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

drill-config.sh incorrectly exits with Java 1.7 or later is required to run Apache Drill

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      java version "1.8.0_144"
      OSX

      Description

      drill-config fails to recognize 1.8.0_144 as Java 1.7 or later.

      The scripts validates the java version using the following code:
      "$JAVA" -version 2>&1 | grep "version" | egrep -e "1.4|1.5|1.6"

      this should be replaced by:

      "$JAVA" -version 2>&1 | grep "version" | egrep -e "1\.4|1\.5|1\.6"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aaray Angel Aray
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: