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 <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan committed Jun 8, 2021
1 parent f0f255d commit b2392eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/arrow/io/hdfs_internal.cc
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 b2392eb

Please sign in to comment.