Skip to content

Commit

Permalink
ARROW-5989: [C++] Accommodate openjdk-8 path search prefix
Browse files Browse the repository at this point in the history
Closes #4907 from efiop/patch-1 and squashes the following commits:

e4a2743 <Ruslan Kuprieiev> ARROW-5989:  accommodate openjdk-8 path search prefix

Authored-by: Ruslan Kuprieiev <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
efiop authored and kszucs committed Jul 22, 2019
1 parent 169abf8 commit ed180da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/src/arrow/io/hdfs-internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ static std::vector<fs::path> 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
Expand Down

0 comments on commit ed180da

Please sign in to comment.