From aff3ce90425c790e266e8cac6b538f283c01302c Mon Sep 17 00:00:00 2001 From: Mu Kong Date: Thu, 7 Dec 2017 10:09:00 +0900 Subject: [PATCH] Fix the document to point out HADOOP_CONF_DIR will also be used to find hdfs-site.xml and core-site.xml. --- doc/source/cli.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/cli.rst b/doc/source/cli.rst index e4f094f..b277f17 100644 --- a/doc/source/cli.rst +++ b/doc/source/cli.rst @@ -47,8 +47,8 @@ Hadoop config files ^^^^^^^^^^^^^^^^^^^ Last two methods of providing config for snakebite is through hadoop config files. -If ``HADOOP_HOME`` environment variable is set, snakebite will try to find ``core-site.xml`` -and/or ``hdfs-site.xml`` files in ``$HADOOP_HOME`` directory. If ``HADOOP_HOME`` is not set, +If either ``HADOOP_HOME`` or ``HADOOP_CONF_DIR`` environment variable is set, snakebite will try to find ``core-site.xml`` +and/or ``hdfs-site.xml`` files in ``$HADOOP_HOME/conf`` or ``$HADOOP_CONF_DIR`` directory. If ``HADOOP_HOME`` or ``HADOOP_CONF_DIR`` is not set, snakebite will try to find those files in a couple of default hadoop config locations: * /etc/hadoop/conf/core-site.xml