[
https://issues.apache.org/jira/browse/IMPALA-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841834#comment-16841834
]
David Knupp commented on IMPALA-8552:
-------------------------------------
It's hard to say. Given our current setup, I guess my gut would be to have
environ.py be the source of truth, since conftest.py already imports it? I
suppose both environ.py and create-load-data.sh (and friends) will need to
consult the same env variable though?
In a perfect world, I think the test harness really shouldn't care about remote
vs. local. Ideally, we'd just provide the test framework with endpoints/port
numbers of the necessary services, and 127.0.0.1:<port> would simply be among
the possible options.
> 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]