paultanay opened a new pull request, #9874:
URL: https://github.com/apache/gravitino/pull/9874

   ## Problem
   Fixes #9859
   Docker build script fails when copying MySQL driver to 
`catalogs/jdbc-oceanbase/libs/`:
   cp: cannot create regular file '.../catalogs/jdbc-oceanbase/libs/': No such 
file or directory Error: Process completed with exit code 1.
   
   ## Root Cause
   The `jdbc-oceanbase` catalog is in `catalogs-contrib/` and is excluded from 
the default distribution:
   1. `build.gradle.kts` line 1127 creates 
`distribution/package/catalogs/jdbc-oceanbase/`
   2. Lines 776-782 delete all contrib catalogs from `distribution/package/`
   3. `gravitino-dependency.sh` tries to copy MySQL driver to deleted directory 
→ fails
   ## Solution
   Remove the invalid copy command from `gravitino-dependency.sh` line 72.
   Contrib catalogs (oceanbase, clickhouse) are intentionally excluded from 
release packages and Docker images, so the copy operation should not exist.
   ## Testing
   - Verified line removal fixes build script execution path
   - Confirmed other catalog copies (mysql, doris, starrocks, iceberg) remain 
intact
   - No other changes included
   Closes #9859


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to