Skip to content

Commit 2a059bd

Browse files
Christopher C. Aycockwesm
authored andcommitted
ARROW-359: Document ARROW_LIBHDFS_DIR
Author: Christopher C. Aycock <christopher.aycock@twosigma.com> Closes #196 from chrisaycock/ARROW-359 and squashes the following commits: 52ec78e [Christopher C. Aycock] ARROW-359: Document ARROW_LIBHDFS_DIR
1 parent e70d97d commit 2a059bd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cpp/doc/HDFS.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ interface to the Java Hadoop client. This library is loaded **at runtime**
3333
(rather than at link / library load time, since the library may not be in your
3434
LD_LIBRARY_PATH), and relies on some environment variables.
3535

36-
* `HADOOP_HOME`: the root of your installed Hadoop distribution. Check in the
37-
`lib/native` directory to look for `libhdfs.so` if you have any questions
38-
about which directory you're after.
39-
* `JAVA_HOME`: the location of your Java SDK installation
36+
* `HADOOP_HOME`: the root of your installed Hadoop distribution. Often has
37+
`lib/native/libhdfs.so`.
38+
* `JAVA_HOME`: the location of your Java SDK installation.
4039
* `CLASSPATH`: must contain the Hadoop jars. You can set these using:
4140

4241
```shell
4342
export CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath --glob`
4443
```
4544

45+
* `ARROW_LIBHDFS_DIR` (optional): explicit location of `libhdfs.so` if it is
46+
installed somewhere other than `$HADOOP_HOME/lib/native`.
47+
4648
### Mac Specifics
4749

4850
The installed location of Java on OS X can vary, however the following snippet

0 commit comments

Comments
 (0)