You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2018/03/17 22:02:00 UTC

[jira] [Created] (DRILL-6264) Incorrect log config path for Drill-on-YARN client

Paul Rogers created DRILL-6264:
----------------------------------

             Summary: Incorrect log config path for Drill-on-YARN client
                 Key: DRILL-6264
                 URL: https://issues.apache.org/jira/browse/DRILL-6264
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.13.0
            Reporter: Paul Rogers
             Fix For: 1.14.0


Install Drill 1.13. Set up Drill-on-YARN as described in [USAGE.md|https://github.com/apache/drill/blob/master/drill-yarn/USAGE.md].

Before launching DoY, use the debug option to display the environment in which the DoY client runs. Observe the following:

{noformat}
Command: .../bin/java ... -Dlogback.configurationFile=yarn-client-log.xml
{noformat}

Note that the path is relative. This will only work if the command is run from the site directory. The path should be absolute, and needs to be resolved:

* If the file exists in the {{$DRILL_CONF}} directory, use that path.
* Else, use the file in {{$DRILL_HOME/conf}}.

The result should be:

{noformat}
... -Dlogback.configurationFile=/path/to/site/yarn-client-log.xml
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)