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

Checking for log file location failed after upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • Tools, Build & Test
    • None

    Description

      git.commit.id=710656a1949e249dc7ad326dccc7c632f563495c

      Upgraded to drill 0.8 from a previous 0.8 version. Ran the following connection string to invoke sqlline:
      [root@qa-node57 ~]# bin/sqlline --maxWidth=10000 -n admin -p admin -u jdbc:drill:schema=dfs.root;zk=10.10.100.56:5181
      /opt/mapr/drill/drill-0.8.0/bin/drill-config.sh: line 94: [: =: unary operator expected
      sqlline version 1.1.6

      From /opt/mapr/drill/drill-0.8.0/bin/drill-config.sh, line 94 is:

      if [ ! -d $DRILL_LOG_DIR ] || [ $DRILL_LOG_DIR_FALLBACK = 1 ]; then
      echo "Drill log directory $DRILL_LOG_DIR does not exist or is not writable, defaulting to $DRILL_HOME/log"
      DRILL_LOG_DIR=$DRILL_HOME/log
      mkdir -p $DRILL_LOG_DIR
      fi

      I don't have "/var/log/drill" directory

      Attachments

        1. DRILL-2446.1.patch.txt
          2 kB
          Patrick Wong
        2. DRILL-2446.2.patch.txt
          2 kB
          Patrick Wong
        3. drill-config.sh
          6 kB
          Patrick Wong

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              knguyen Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: