Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E62B71759A for ; Thu, 12 Mar 2015 21:30:40 +0000 (UTC) Received: (qmail 241 invoked by uid 500); 12 Mar 2015 21:30:40 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 135 invoked by uid 500); 12 Mar 2015 21:30:40 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 99838 invoked by uid 99); 12 Mar 2015 21:30:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 21:30:40 +0000 Date: Thu, 12 Mar 2015 21:30:40 +0000 (UTC) From: "Patrick Wong (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2446) Checking for log file location failed after upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Wong updated DRILL-2446: -------------------------------- Attachment: drill-config.sh Hello Krystal, Please try replacing your current drill-config.sh with the file attached to this ticket. If it works, then I can submit the patch to resolve this issue. > 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: Patrick Wong > Attachments: 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)