You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2015/04/21 00:00:59 UTC

[jira] [Closed] (DRILL-2446) Checking for log file location failed after upgrade

     [ https://issues.apache.org/jira/browse/DRILL-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krystal closed DRILL-2446.
--------------------------

Verified that bug is fixed.

> Checking for log file location failed after upgrade
> ---------------------------------------------------
>
>                 Key: DRILL-2446
>                 URL: https://issues.apache.org/jira/browse/DRILL-2446
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: 0.8.0
>            Reporter: Krystal
>            Assignee: Jacques Nadeau
>             Fix For: 0.8.0
>
>         Attachments: DRILL-2446.1.patch.txt, DRILL-2446.2.patch.txt, drill-config.sh
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)