[
https://issues.apache.org/jira/browse/IMPALA-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841704#comment-16841704
]
Tim Armstrong commented on IMPALA-8552:
---------------------------------------
[~dknupp] I must have made an incorrect assumption, but I thought this was
correctly avoided when running against a remote cluster. The code failed here:
{code}
if IMPALA_TEST_CLUSTER_PROPERTIES.is_remote_cluster():
# With remote cluster testing, we cannot assume that the shell was built
locally.
IMPALA_SHELL_EXECUTABLE = os.path.join(IMPALA_HOME, "bin/impala-shell.sh")
else:
# Test the locally built shell distribution.
IMPALA_SHELL_EXECUTABLE = os.path.join(
IMPALA_HOME, "shell/build", "impala-shell-" + IMPALA_LOCAL_BUILD_VERSION,
<== HERE!!!!!!!!!!!!!!!!!
"impala-shell")
{code}
Is is_remote_cluster() unreliable? Or is there some configuration that doesn't
have a local Impala build but isn't a remote cluster?
> impala-shell tests break on deployed clusters if IMPALA_LOCAL_BUILD_VERSION
> is None
> -----------------------------------------------------------------------------------
>
> Key: IMPALA-8552
> URL: https://issues.apache.org/jira/browse/IMPALA-8552
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.3.0
> Reporter: David Knupp
> Assignee: Tim Armstrong
> Priority: Critical
>
> This is a regression introduced by the commit:
> https://github.com/apache/impala/commit/b55d905
> *Stacktrace*
> {noformat}
> shell/test_shell_commandline.py:33: in <module>
> from util import (get_impalad_host_port, assert_var_substitution,
> run_impala_shell_cmd,
> shell/util.py:42: in <module>
> IMPALA_HOME, "shell/build", "impala-shell-" + IMPALA_LOCAL_BUILD_VERSION,
> E TypeError: cannot concatenate 'str' and 'NoneType' objects
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]