[
https://issues.apache.org/jira/browse/IMPALA-9346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030279#comment-17030279
]
ASF subversion and git services commented on IMPALA-9346:
---------------------------------------------------------
Commit 66e6879e8ccf18f9af82a49ff28cd95fe9fcf390 in impala's branch
refs/heads/master from wzhou-code
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=66e6879 ]
IMPALA-9346: Fix TestImpalaShell.test_config_file failing issue
on CentOS6/Python 2.6
ImpalaShell.test_config_file failed in negative test case, which
ran impala shell with bad format config file - wrong option name and
wrong option value. The testing code expect impala shell return both
warning and error messages. But on CentOS6/Python 2.6, Impala shell
only return error message. To fix it, separate the test cases as two
test cases by running Impala shell in two different config file.
Testing:
- Passed all test cases in test_shell_commandline.py and
test_shell_interactive.py.
- Passed all core test in pre-review-test.
- Passed EE tests in impala-private-parameterized with CentOS6.
Change-Id: Ief5e825aa3baead5519132d47efcf0d5300860fd
Reviewed-on: http://gerrit.cloudera.org:8080/15139
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestImpalaShell.test_config_file failing on CentOS6/Python 2.6
> --------------------------------------------------------------
>
> Key: IMPALA-9346
> URL: https://issues.apache.org/jira/browse/IMPALA-9346
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Tim Armstrong
> Assignee: Wenzhe Zhou
> Priority: Blocker
> Labels: broken-build
> Fix For: Impala 3.4.0
>
>
> {noformat}
> shell.test_shell_commandline.TestImpalaShell.test_config_file[table_format_and_file_extension:
> ('parquet', '.parq') | protocol: beeswax] (from pytest)
> Failing for the past 2 builds (Since Failed#204 )
> Took 14 sec.
> add description
> Error Message
> shell/test_shell_commandline.py:593: in test_config_file assert err_msg
> in result.stderr E assert 'Ignoring unrecognized config option' in "Loading
> in options from config file:
> /data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6-shard2/repos/Impala/tes.../impalarc_with_error2
> \n\nUnexpected value in configuration file. 'maybe' is not a valid value for
> a boolean option.\n" E + where "Loading in options from config file:
> /data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6-shard2/repos/Impala/tes.../impalarc_with_error2
> \n\nUnexpected value in configuration file. 'maybe' is not a valid value for
> a boolean option.\n" = <tests.shell.util.ImpalaShellResult object at
> 0xc41de90>.stderr
> Stacktrace
> shell/test_shell_commandline.py:593: in test_config_file
> assert err_msg in result.stderr
> E assert 'Ignoring unrecognized config option' in "Loading in options from
> config file:
> /data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6-shard2/repos/Impala/tes.../impalarc_with_error2
> \n\nUnexpected value in configuration file. 'maybe' is not a valid value for
> a boolean option.\n"
> E + where "Loading in options from config file:
> /data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6-shard2/repos/Impala/tes.../impalarc_with_error2
> \n\nUnexpected value in configuration file. 'maybe' is not a valid value for
> a boolean option.\n" = <tests.shell.util.ImpalaShellResult object at
> 0xc41de90>.stderr
> {noformat}
> It looks like this check was added in IMPALA-6393
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]