Skip to content

Commit

Permalink
adding standalone libhdfs3 dir (apache#15)
Browse files Browse the repository at this point in the history
this patch allows to use customized libhdfs3 dir

Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan authored and zhztheplayer committed May 13, 2021
1 parent 9527b1c commit 211196e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/arrow/io/hdfs_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Result<std::vector<PlatformFilename>> get_potential_libhdfs_paths() {
ARROW_ASSIGN_OR_RAISE(auto search_paths, MakeFilenameVector({"", "."}));

// Path from environment variable
AppendEnvVarFilename("ARROW_LIBHDFS3_DIR", &search_paths);
AppendEnvVarFilename("HADOOP_HOME", "lib/native", &search_paths);
AppendEnvVarFilename("ARROW_LIBHDFS_DIR", &search_paths);

Expand Down

0 comments on commit 211196e

Please sign in to comment.