From 692db0169b5e27f817b36d18bad4e2df7117b17e Mon Sep 17 00:00:00 2001 From: Yuan Date: Mon, 26 Apr 2021 10:09:16 +0800 Subject: [PATCH] adding standalone libhdfs3 dir (#15) this patch allows to use customized libhdfs3 dir Signed-off-by: Yuan Zhou --- cpp/src/arrow/io/hdfs_internal.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/src/arrow/io/hdfs_internal.cc b/cpp/src/arrow/io/hdfs_internal.cc index ced298f732130..a55913f14a227 100644 --- a/cpp/src/arrow/io/hdfs_internal.cc +++ b/cpp/src/arrow/io/hdfs_internal.cc @@ -153,6 +153,7 @@ Result> 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);