From e4a27430feb154b3dfadb205e67a221ffc6218ce Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 19 Jul 2019 01:15:06 +0300 Subject: [PATCH] ARROW-5989: [C++] accommodate openjdk-8 path search prefix --- cpp/src/arrow/io/hdfs-internal.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/src/arrow/io/hdfs-internal.cc b/cpp/src/arrow/io/hdfs-internal.cc index c273ab45f634f..c4d6c9c5082d3 100644 --- a/cpp/src/arrow/io/hdfs-internal.cc +++ b/cpp/src/arrow/io/hdfs-internal.cc @@ -162,6 +162,8 @@ static std::vector get_potential_libjvm_paths() { "/usr/local/lib/jvm/java", // alt rhel6 "/usr/local/lib/jvm", // alt centos6 "/usr/local/lib64/jvm", // alt opensuse 13 + "/usr/local/lib/jvm/java-8-openjdk-amd64", // alt ubuntu / debian distros + "/usr/lib/jvm/java-8-openjdk-amd64", // alt ubuntu / debian distros "/usr/local/lib/jvm/java-7-openjdk-amd64", // alt ubuntu / debian distros "/usr/lib/jvm/java-7-openjdk-amd64", // alt ubuntu / debian distros "/usr/local/lib/jvm/java-6-openjdk-amd64", // alt ubuntu / debian distros