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 "David Knupp (JIRA)" <ji...@apache.org> on 2018/10/26 17:50:00 UTC

[jira] [Closed] (IMPALA-6814) query_test.test_queries.TestQueriesTextTables.test_strict_mode failing on remote clusters

     [ https://issues.apache.org/jira/browse/IMPALA-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Knupp closed IMPALA-6814.
-------------------------------
    Resolution: Cannot Reproduce

Apparently not. The actual line was apparently {{row_regex: .*Error parsing row: file: $NAMENODE/.* before offset: \d+}}, and $NAMENODE was resolving to "localhost." Some other change somewhere must have fixed that, because it's now resolving properly.

> query_test.test_queries.TestQueriesTextTables.test_strict_mode failing on remote clusters
> -----------------------------------------------------------------------------------------
>
>                 Key: IMPALA-6814
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6814
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.12.0
>            Reporter: David Knupp
>            Assignee: David Knupp
>            Priority: Critical
>
> It looks like {{localhost}} is hardcoded in the test verification.
>  
> *Stacktrace*
> query_test/test_queries.py:161: in test_strict_mode
>  self.run_test_case('QueryTest/strict-mode', vector)
>  common/impala_test_suite.py:427: in run_test_case
>  self.__verify_results_and_errors(vector, test_section, result, use_db)
>  common/impala_test_suite.py:300: in __verify_results_and_errors
>  replace_filenames_with_placeholder)
>  common/test_result_verifier.py:317: in verify_raw_results
>  verify_errors(expected_errors, actual_errors)
>  common/test_result_verifier.py:274: in verify_errors
>  VERIFIER_MAP['VERIFY_IS_EQUAL'](expected, actual)
>  common/test_result_verifier.py:231: in verify_query_result_is_equal
>  assert expected_results == actual_results
>  E assert Comparing QueryTestResults (expected vs actual):
>  [...]
>  E row_regex: .*Error parsing row: file: hdfs://{color:#ff0000}*localhost*{color}:20500/.* before offset: \d+ != 'Error parsing row: file: hdfs://*<hostname>*:8020/test-warehouse/overflow/overflow.txt, before offset: 454'
>  E row_regex: .*Error parsing row: file: hdfs://{color:#ff0000}*localhost*{color}:20500/.* before offset: \d+ != 'Error parsing row: file: hdfs://*<hostname>*:8020/test-warehouse/overflow/overflow.txt, before offset: 454'



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org