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/05/09 23:38: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=17950617#comment-17950617 ] 

ASF subversion and git services commented on IMPALA-13959:
----------------------------------------------------------

Commit a3146ca7226e9e711a2fa8d26b30e78f4ab79b02 in impala's branch refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a3146ca72 ]

IMPALA-13959: (addendum) Let test pass regardless of JDK version.

This patch modify test_change_parquet_column_type to let it pass
regardless of the test JDK version. The assertion is changed from using
string match to regex.

Testing:
Run and pass the test with both JDK8 and JDK17.

Change-Id: I5bd3eebe7b1e52712033dda488f0c19882207f9d
Reviewed-on: http://gerrit.cloudera.org:8080/22874
Reviewed-by: Impala Public Jenkins <im...@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
>             Fix For: Impala 5.0.0
>
>
> 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