Skip to content

Commit b2392eb

Browse files
committed
adding standalone libhdfs3 dir (apache#15)
this patch allows to use customized libhdfs3 dir Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
1 parent f0f255d commit b2392eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/src/arrow/io/hdfs_internal.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ Result<std::vector<PlatformFilename>> get_potential_libhdfs_paths() {
153153
ARROW_ASSIGN_OR_RAISE(auto search_paths, MakeFilenameVector({"", "."}));
154154

155155
// Path from environment variable
156+
AppendEnvVarFilename("ARROW_LIBHDFS3_DIR", &search_paths);
156157
AppendEnvVarFilename("HADOOP_HOME", "lib/native", &search_paths);
157158
AppendEnvVarFilename("ARROW_LIBHDFS_DIR", &search_paths);
158159

0 commit comments

Comments
 (0)