You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2025/09/17 21:40:00 UTC
[jira] [Assigned] (IMPALA-14450) Cannot manually set both JAVA_HOME and IMPALA_JAVA_TARGET
[ https://issues.apache.org/jira/browse/IMPALA-14450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith reassigned IMPALA-14450:
--------------------------------------
Assignee: Michael Smith
> Cannot manually set both JAVA_HOME and IMPALA_JAVA_TARGET
> ---------------------------------------------------------
>
> Key: IMPALA-14450
> URL: https://issues.apache.org/jira/browse/IMPALA-14450
> Project: IMPALA
> Issue Type: Task
> Components: Frontend
> Affects Versions: Impala 5.0.0
> Reporter: Michael Smith
> Assignee: Michael Smith
> Priority: Major
>
> As we work to support Java 17, a problem that's come up is that when you set {{IMPALA_JAVA_HOME_OVERRIDE}} to specify your own {{JAVA_HOME}}, it overrides {{IMPALA_JDK_VERSION}}. If you happen to source bin/impala-config.sh in the same shell, then {{IMPALA_JAVA_TARGET=override}} and compilation fails.
> In more specific environments with subshells, this isn't necessarily a problem until you try to provide {{IMPALA_JDK_VERSION}} as an environment variable. By declaring the environment variable, the update {{IMPALA_JDK_VERSION=override}} escapes the subshell and breaks subsequent build steps.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org