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 "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2024/04/24 15:27:00 UTC

[jira] [Commented] (IMPALA-12266) Sporadic failure after migrating a table to Iceberg

    [ https://issues.apache.org/jira/browse/IMPALA-12266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17840486#comment-17840486 ] 

Csaba Ringhofer commented on IMPALA-12266:
------------------------------------------

Saw this test failing again.
select * from special_chars;
Could not resolve table reference: 'special_chars'

Looked into coordinator log:
{code}
I0422 03:48:38.383420 19888 Frontend.java:2127] 1f4e0654b999662f:b6f1b01500000000] Analyzing query: select * from special_chars db: test_convert_table_cdba7383
...
I0422 03:48:42.862898  1012 ImpaladCatalog.java:232] Deleting: TABLE:test_convert_table_cdba7383.special_chars version: 7785 size: 77
I0422 03:48:42.862920  1012 ImpaladCatalog.java:232] Deleting: TABLE:test_convert_table_cdba7383.special_chars_tmp_5eb06c80 version: 7786 size: 714
I0422 03:48:42.862967  1012 ImpaladCatalog.java:232] Adding: CATALOG_SERVICE_ID version: 7786 size: 60
...
I0422 03:48:42.863464 19888 jni-util.cc:302] 1f4e0654b999662f:b6f1b01500000000] org.apache.impala.common.AnalysisException: Could not resolve table reference: 'special_chars'
	at org.apache.impala.analysis.Analyzer.resolvePath(Analyzer.java:1458)
...
I0422 03:48:46.893426  1012 ImpaladCatalog.java:232] Adding: TABLE:test_convert_table_cdba7383.special_chars version: 7794 size: 84
{code}
I am not familiar with how convert to Iceberg works, but based on the logs
1. special_chars_tmp_5eb06c80 is created,
2. special_chars is deleted 
3. special_chars recreated

If the table is queries between 2 and 3 then the coordinator will think that it doesn't exist.

> Sporadic failure after migrating a table to Iceberg
> ---------------------------------------------------
>
>                 Key: IMPALA-12266
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12266
>             Project: IMPALA
>          Issue Type: Bug
>          Components: fe
>    Affects Versions: Impala 4.2.0
>            Reporter: Tamas Mate
>            Assignee: Quanlong Huang
>            Priority: Major
>              Labels: impala-iceberg
>         Attachments: catalogd.bd40020df22b.invalid-user.log.INFO.20230704-181939.1, impalad.6c0f48d9ce66.invalid-user.log.INFO.20230704-181940.1
>
>
> TestIcebergTable.test_convert_table test failed in a recent verify job's dockerised tests:
> https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/7629
> {code:none}
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: AnalysisException: Failed to load metadata for table: 'parquet_nopartitioned'
> E   CAUSED BY: TableLoadingException: Could not load table test_convert_table_cdba7383.parquet_nopartitioned from catalog
> E   CAUSED BY: TException: TGetPartialCatalogObjectResponse(status:TStatus(status_code:GENERAL, error_msgs:[NullPointerException: null]), lookup_status:OK)
> {code}
> {code:none}
> E0704 19:09:22.980131   833 JniUtil.java:183] 7145c21173f2c47b:2579db5500000000] Error in Getting partial catalog object of TABLE:test_convert_table_cdba7383.parquet_nopartitioned. Time spent: 49ms
> I0704 19:09:22.980309   833 jni-util.cc:288] 7145c21173f2c47b:2579db5500000000] java.lang.NullPointerException
> 	at org.apache.impala.catalog.CatalogServiceCatalog.replaceTableIfUnchanged(CatalogServiceCatalog.java:2357)
> 	at org.apache.impala.catalog.CatalogServiceCatalog.getOrLoadTable(CatalogServiceCatalog.java:2300)
> 	at org.apache.impala.catalog.CatalogServiceCatalog.doGetPartialCatalogObject(CatalogServiceCatalog.java:3587)
> 	at org.apache.impala.catalog.CatalogServiceCatalog.getPartialCatalogObject(CatalogServiceCatalog.java:3513)
> 	at org.apache.impala.catalog.CatalogServiceCatalog.getPartialCatalogObject(CatalogServiceCatalog.java:3480)
> 	at org.apache.impala.service.JniCatalog.lambda$getPartialCatalogObject$11(JniCatalog.java:397)
> 	at org.apache.impala.service.JniCatalogOp.lambda$execAndSerialize$1(JniCatalogOp.java:90)
> 	at org.apache.impala.service.JniCatalogOp.execOp(JniCatalogOp.java:58)
> 	at org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:89)
> 	at org.apache.impala.service.JniCatalogOp.execAndSerializeSilentStartAndFinish(JniCatalogOp.java:109)
> 	at org.apache.impala.service.JniCatalog.execAndSerializeSilentStartAndFinish(JniCatalog.java:238)
> 	at org.apache.impala.service.JniCatalog.getPartialCatalogObject(JniCatalog.java:396)
> I0704 19:09:22.980324   833 status.cc:129] 7145c21173f2c47b:2579db5500000000] NullPointerException: null
>     @          0x1012f9f  impala::Status::Status()
>     @          0x187f964  impala::JniUtil::GetJniExceptionMsg()
>     @           0xfee920  impala::JniCall::Call<>()
>     @           0xfccd0f  impala::Catalog::GetPartialCatalogObject()
>     @           0xfb55a5  impala::CatalogServiceThriftIf::GetPartialCatalogObject()
>     @           0xf7a691  impala::CatalogServiceProcessorT<>::process_GetPartialCatalogObject()
>     @           0xf82151  impala::CatalogServiceProcessorT<>::dispatchCall()
>     @           0xee330f  apache::thrift::TDispatchProcessor::process()
>     @          0x1329246  apache::thrift::server::TAcceptQueueServer::Task::run()
>     @          0x1315a89  impala::ThriftThread::RunRunnable()
>     @          0x131773d  boost::detail::function::void_function_obj_invoker0<>::invoke()
>     @          0x195ba8c  impala::Thread::SuperviseThread()
>     @          0x195c895  boost::detail::thread_data<>::run()
>     @          0x23a03a7  thread_proxy
>     @     0x7faaad2a66ba  start_thread
>     @     0x7faaaa2c151d  clone
> E0704 19:09:23.006968   833 catalog-server.cc:278] 7145c21173f2c47b:2579db5500000000] NullPointerException: null
> {code}



--
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