You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"status": "CONFLICT",
"error": "Conflict",
"message": "Entity with key[LocalFSCluster.d3.t1] is modified by another process already, nested exception message: Conflict detected for databaseId: d3, tableId: t1, expected version: /tmp/openhouse/d3/t1-e307fe92-56af-403d-983b-6cb0da61ef82/00000-1eba8f50-4d83-49fe-b968-b59c5f77c6e7.metadata.json actual version INITIAL_VERSION: The requested user table has been modified/created by other processes.",
"stacktrace": null,
"cause": "Conflict detected for databaseId: d3, tableId: t1, expected version: /tmp/openhouse/d3/t1-e307fe92-56af-403d-983b-6cb0da61ef82/00000-1eba8f50-4d83-49fe-b968-b59c5f77c6e7.metadata.json actual version INITIAL_VERSION: The requested user table has been modified/created by other processes.",
}
Stacktrace, metrics and logs
No response
Code to reproduce bug
No response
What component does this bug affect?
Table Service: This is the RESTful catalog service that stores table metadata. :services:tables
Jobs Service: This is the job orchestrator that submits data services for table maintenance. :services:jobs
Data Services: This is the jobs that performs table maintenance. apps:spark
Iceberg internal catalog: This is the internal Iceberg catalog for OpenHouse Catalog Service. :iceberg:openhouse
Spark Client Integration: This is the Apache Spark integration for OpenHouse catalog. :integration:spark
Documentation: This is the documentation for OpenHouse. docs
Local Docker: This is the local Docker environment for OpenHouse. infra/recipes/docker-compose
Other: Please specify the component.
The text was updated successfully, but these errors were encountered:
I created a table called 'table10' and tried to update it with "baseTableVersion": "INITIAL_VERSION" and "clusterId": "LocalFSCluster", which I got from the successful table creation response. The update failed due to a conflict, suggesting the table had been modified by another process. However, when I retried after about 4 hours, the update worked.
Hi @aditya-sjsu , in your update request, the baseTableVersion is still pointing to INITIAL_VERSION, can you change it to /tmp/openhouse/d3/t1-e307fe92-56af-403d-983b-6cb0da61ef82/00000-1eba8f50-4d83-49fe-b968-b59c5f77c6e7.metadata.json, and try again ?
OH table versions are used for atomic updates. Each change/update targets a specific version. If the version in HTS has evolved from the specified version you'll see the error "Entity with <> is modified by another process already"
An example update scenario is as follows:
# Action # targetVersion # versionAfterUpdate
CREATE_TABLE INITIAL_VERSION TBL_LOC_1
UPDATE_TABLE_1 TBL_LOC_1 TBL_LOC_2
INSERT_DATA TBL_LOC_2 TBL_LOC_3
and so on.
Willingness to contribute
Yes. I would be willing to contribute a fix for this bug with guidance from the OpenHouse community.
OpenHouse version
latest
System information
Describe the problem
I am trying to setup openhouse locally, but while running the
update table
REST API, I am receiving errors.I am following the steps mentioned in https://github.com/linkedin/openhouse/blob/main/SETUP.md
Stacktrace, metrics and logs
No response
Code to reproduce bug
No response
What component does this bug affect?
Table Service
: This is the RESTful catalog service that stores table metadata.:services:tables
Jobs Service
: This is the job orchestrator that submits data services for table maintenance.:services:jobs
Data Services
: This is the jobs that performs table maintenance.apps:spark
Iceberg internal catalog
: This is the internal Iceberg catalog for OpenHouse Catalog Service.:iceberg:openhouse
Spark Client Integration
: This is the Apache Spark integration for OpenHouse catalog.:integration:spark
Documentation
: This is the documentation for OpenHouse.docs
Local Docker
: This is the local Docker environment for OpenHouse.infra/recipes/docker-compose
Other
: Please specify the component.The text was updated successfully, but these errors were encountered: