Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #157 from dgoldin/dmi/autoconfclient_docfix
Browse files Browse the repository at this point in the history
Minor fix for doc of client.AutoConfigClient
  • Loading branch information
Wouter de Bie committed Jun 15, 2015
2 parents c995cd5 + f881be3 commit e1bdbc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snakebite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,10 +1412,12 @@ def wrapped(self, *args, **kw):
HAClient._wrap_methods()

class AutoConfigClient(HAClient):
''' A pure python HDFS client that support HA and is auto configured through the ``HADOOP_PATH`` environment variable.
''' A pure python HDFS client that support HA and is auto configured through the ``HADOOP_HOME`` environment variable.
HAClient is fully backwards compatible with the vanilla Client and can be used for a non HA cluster as well.
This client tries to read ``${HADOOP_PATH}/conf/hdfs-site.xml`` to get the address of the namenode.
This client tries to read ``${HADOOP_HOME}/conf/hdfs-site.xml`` and ``${HADOOP_HOME}/conf/core-site.xml``
to get the address of the namenode.
The behaviour is the same as Client.
**Example:**
Expand Down

0 comments on commit e1bdbc3

Please sign in to comment.