-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
Description
❌ test_migrate_external_table_hiveserde_in_place: AssertionError: parquet_serde_ur1m not found in dummy_cdl2r.hiveserde_in_place_ur1m (5m11.625s)
AssertionError: parquet_serde_ur1m not found in dummy_cdl2r.hiveserde_in_place_ur1m
assert False
[gw5] linux -- Python 3.10.18 /home/runner/work/ucx/ucx/.venv/bin/python
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_gsumdlmm1ef6pyue no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_osbpwqfv3eih3nyq no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_pmsqwnkcyp34jzlm no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_wub0ogd48witfc53 no longer exists. Skipping checking its migration status.
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] fetching tables inventory
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] Inventory table not found
Traceback (most recent call last):
File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/framework/crawlers.py", line 152, in _snapshot
cached_results = list(fetcher())
File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/tables.py", line 458, in _try_fetch
for row in self._fetch(f"SELECT * FROM {escape_sql_identifier(self.full_name)}"):
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 344, in fetch_all
execute_response = self.execute(
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 268, in execute
self._raise_if_needed(status)
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 478, in _raise_if_needed
raise NotFound(error_message)
databricks.sdk.errors.platform.NotFound: [TABLE_OR_VIEW_NOT_FOUND] The table or view `hive_metastore`.`dummy_s4oya`.`tables` cannot be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a schema, verify the current_schema() output, or qualify the name with the correct schema and catalog.
To tolerate the error on drop use DROP VIEW IF EXISTS or DROP TABLE IF EXISTS. SQLSTATE: 42P01; line 1 pos 14
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] crawling new set of snapshot data for tables
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m] listing tables and views
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] found 3 new records for tables
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/avro_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/parquet_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/orc_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m (id INT, region STRING) USING AVRO LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/avro_serde_ur1m' TBLPROPERTIES ('avro.schema.literal'='{\n "namespace": "org.apache.hive",\n "name": "first_schema",\n "type": "record",\n "fields": [\n { "name":"id", "type":"int" },\n { "name":"region", "type":"string" }\n ] }', 'transient_lastDdlTime'='1757740633')
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m (id INT, region STRING) USING ORC PARTITIONED BY (region) LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/orc_serde_ur1m' TBLPROPERTIES ('transient_lastDdlTime'='1757740631')
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m (id INT, region STRING) USING PARQUET PARTITIONED BY (region) LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/parquet_serde_ur1m' TBLPROPERTIES ('transient_lastDdlTime'='1757740631')
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m: [RequestId=0ba76def-fbe8-405c-999c-778359e22cd9 ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=57397d89-f476-492f-83c0-f7eec910628a
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m: [RequestId=d597f50b-7f9e-42fc-9a98-e2114027719f ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=ba20c1fd-24f0-48f0-b604-ae2ff3f87491
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m: [RequestId=0ef1515a-ba9b-4edc-b185-85e888531dd1 ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=26d55c0d-b1b4-42b7-bdba-3e119e2665cc
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_gsumdlmm1ef6pyue no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_osbpwqfv3eih3nyq no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_pmsqwnkcyp34jzlm no longer exists. Skipping checking its migration status.
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migration_status] Catalog ucx_wub0ogd48witfc53 no longer exists. Skipping checking its migration status.
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] fetching tables inventory
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] Inventory table not found
Traceback (most recent call last):
File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/framework/crawlers.py", line 152, in _snapshot
cached_results = list(fetcher())
File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/tables.py", line 458, in _try_fetch
for row in self._fetch(f"SELECT * FROM {escape_sql_identifier(self.full_name)}"):
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 344, in fetch_all
execute_response = self.execute(
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 268, in execute
self._raise_if_needed(status)
File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 478, in _raise_if_needed
raise NotFound(error_message)
databricks.sdk.errors.platform.NotFound: [TABLE_OR_VIEW_NOT_FOUND] The table or view `hive_metastore`.`dummy_s4oya`.`tables` cannot be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a schema, verify the current_schema() output, or qualify the name with the correct schema and catalog.
To tolerate the error on drop use DROP VIEW IF EXISTS or DROP TABLE IF EXISTS. SQLSTATE: 42P01; line 1 pos 14
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] crawling new set of snapshot data for tables
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m] listing tables and views
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.hive_metastore.tables] [hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m] fetching table metadata
05:22 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.dummy_s4oya.tables] found 3 new records for tables
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/avro_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/parquet_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.locations] Replacing location dbfs:/mnt/TEST_MOUNT_NAME/a with TEST_MOUNT_CONTAINER/a in dbfs:/mnt/TEST_MOUNT_NAME/a/hiveserde_in_place_ur1m/orc_serde_ur1m
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m (id INT, region STRING) USING AVRO LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/avro_serde_ur1m' TBLPROPERTIES ('avro.schema.literal'='{\n "namespace": "org.apache.hive",\n "name": "first_schema",\n "type": "record",\n "fields": [\n { "name":"id", "type":"int" },\n { "name":"region", "type":"string" }\n ] }', 'transient_lastDdlTime'='1757740633')
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m (id INT, region STRING) USING ORC PARTITIONED BY (region) LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/orc_serde_ur1m' TBLPROPERTIES ('transient_lastDdlTime'='1757740631')
05:22 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m using SQL query: CREATE TABLE dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m (id INT, region STRING) USING PARQUET PARTITIONED BY (region) LOCATION 'TEST_MOUNT_CONTAINER/a/hiveserde_in_place_ur1m/parquet_serde_ur1m' TBLPROPERTIES ('transient_lastDdlTime'='1757740631')
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.parquet_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.parquet_serde_ur1m: [RequestId=0ba76def-fbe8-405c-999c-778359e22cd9 ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=57397d89-f476-492f-83c0-f7eec910628a
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.avro_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.avro_serde_ur1m: [RequestId=d597f50b-7f9e-42fc-9a98-e2114027719f ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=ba20c1fd-24f0-48f0-b604-ae2ff3f87491
05:22 WARNING [databricks.labs.ucx.hive_metastore.table_migrate] failed-to-migrate: Failed to migrate table hive_metastore.hiveserde_in_place_ur1m.orc_serde_ur1m to dummy_cdl2r.hiveserde_in_place_ur1m.orc_serde_ur1m: [RequestId=0ef1515a-ba9b-4edc-b185-85e888531dd1 ErrorClass=INVALID_STATE.UC_CLOUD_STORAGE_ACCESS_FAILURE] Failed to access cloud storage: [AbfsRestOperationException] () exceptionTraceId=26d55c0d-b1b4-42b7-bdba-3e119e2665cc
[gw5] linux -- Python 3.10.18 /home/runner/work/ucx/ucx/.venv/bin/python
Running from nightly #627