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 "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/04/14 22:17:00 UTC
[jira] [Commented] (IMPALA-13959) TestHmsIntegration.test_change_parquet_column_type fail in exhaustive mode
[ https://issues.apache.org/jira/browse/IMPALA-13959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944498#comment-17944498 ]
ASF subversion and git services commented on IMPALA-13959:
----------------------------------------------------------
Commit 50a98dce46fd337461f67b98979fece95c7bf738 in impala's branch refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=50a98dce4 ]
IMPALA-13959: Fix TestHmsIntegration.test_change_parquet_column_type
TestHmsIntegration.test_change_parquet_column_type fail in exhaustive
mode due to a missing int parsing introduced by IMPALA-13920.
This patch add the missing int parsing. It also fix flake8 issues
in test_hms_integration.py, including unused vector fixture.
Testing:
Run and pass test_hms_integration.py in exhaustive mode.
Change-Id: If5fb9f96b4087e86b0ebaac7135e14b7a14936ea
Reviewed-on: http://gerrit.cloudera.org:8080/22774
Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> TestHmsIntegration.test_change_parquet_column_type fail in exhaustive mode
> --------------------------------------------------------------------------
>
> Key: IMPALA-13959
> URL: https://issues.apache.org/jira/browse/IMPALA-13959
> Project: IMPALA
> Issue Type: Bug
> Components: Test
> Reporter: Riza Suminto
> Assignee: Riza Suminto
> Priority: Major
>
> TestHmsIntegration.test_change_parquet_column_type fail in exhaustive mode with following error:
> {noformat}
> Error Message
> assert 'class org.apache.hadoop.io.Text cannot be cast to class org.apache.hadoop.io.IntWritable' in 'Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file...ang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n' + where 'Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file...ang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n' = str(RuntimeError('Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multip...io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n',))
> Stacktrace
> /data/jenkins/workspace/impala-private-basic-parameterized/repos/Impala/tests/metadata/test_hms_integration.py:791: in test_change_parquet_column_type
> self.run_stmt_in_hive, 'select * from %s' % table_name, err_msg)
> /data/jenkins/workspace/impala-private-basic-parameterized/repos/Impala/tests/metadata/test_hms_integration.py:294: in assert_sql_error
> assert str_in_error in str(e)
> E assert 'class org.apache.hadoop.io.Text cannot be cast to class org.apache.hadoop.io.IntWritable' in 'Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file...ang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n'
> E + where 'Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file...ang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n' = str(RuntimeError('Picked up JAVA_TOOL_OPTIONS: \nSLF4J: Class path contains multip...io.Text cannot be cast to org.apache.hadoop.io.IntWritable (state=,code=1)\n',)){noformat}
> This is due to a missing int parsing introduced by IMPALA-13920.
> [https://github.com/apache/impala/blob/047cf9ff4d3c68c32be0965fbc3cb0c245d3b3b1/tests/metadata/test_hms_integration.py#L789]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org