You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Lars Volker (Code Review)" <ge...@cloudera.org> on 2018/04/26 18:51:02 UTC

[Impala-ASF-CR] Warn about Hadoop / Java version incompatibility

Hello Joe McDonnell, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/10222

to look at the new patch set (#3).

Change subject: Warn about Hadoop / Java version incompatibility
......................................................................

Warn about Hadoop / Java version incompatibility

Running Hadoop 3 with Java can result in some obscure error messages.

This change adds a warning to impala-config.sh when using Hadoop 3 with
Java 7.

It also catches failure of the minicluster start and prints an
additional warning when running with Hadoop 3 and Java 7.

   Start of the minicluster failed. If the error looks similar to
   "Unsupported major.minor version 52.0", make sure you are running at
   least Java 8.
   Your JAVA binary currently points to
   /usr/lib/jvm/java-7-oracle-amd64/bin/java and reports the following
   version:

   java version "1.7.0_75"
   Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
   Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

Change-Id: Ib16feb406afec83fd2380308a5d24a2793d246fd
---
M bin/impala-config.sh
M testdata/bin/run-mini-dfs.sh
2 files changed, 34 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/22/10222/3
-- 
To view, visit http://gerrit.cloudera.org:8080/10222
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib16feb406afec83fd2380308a5d24a2793d246fd
Gerrit-Change-Number: 10222
Gerrit-PatchSet: 3
Gerrit-Owner: Lars Volker <lv...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>