Michael Smith created IMPALA-14450:
--------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to