Skip to content

branch-4.0: [fix](docker) avoid passing OSS bucket as Hive runtime conf#61258

Merged
yiguolei merged 1 commit intoapache:branch-4.0from
CalvinKirs:fix-hive-beeline-oss-bucket
Mar 13, 2026
Merged

branch-4.0: [fix](docker) avoid passing OSS bucket as Hive runtime conf#61258
yiguolei merged 1 commit intoapache:branch-4.0from
CalvinKirs:fix-hive-beeline-oss-bucket

Conversation

@CalvinKirs
Copy link
Member

What problem does this PR solve?

The kerberos thirdparty docker initializes the Paimon HMS table by invoking hive --hiveconf oss_bucket=.... HiveServer2 treats oss_bucket as a runtime session parameter and rejects the connection with Cannot modify oss_bucket at runtime, which breaks the external regression deploy-docker step.

What is changed

  • stop passing oss_bucket through --hiveconf during kerberos Paimon HMS initialization
  • render the OSS bucket directly into the HQL file before running hive -f
  • keep the resulting OSS warehouse path unchanged

Test

  • bash -n docker/thirdparties/docker-compose/kerberos/entrypoint-hive-master.sh
  • render check for docker/thirdparties/docker-compose/kerberos/sql/create_paimon_hive_table.hql with OSSBucket=doris-regression-bj

@CalvinKirs CalvinKirs requested a review from yiguolei as a code owner March 12, 2026 07:49
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@CalvinKirs CalvinKirs changed the title [fix](docker) avoid passing OSS bucket as Hive runtime conf branch-4.0: [fix](docker) avoid passing OSS bucket as Hive runtime conf Mar 12, 2026
@CalvinKirs CalvinKirs marked this pull request as draft March 13, 2026 02:12
@CalvinKirs CalvinKirs marked this pull request as ready for review March 13, 2026 06:02
@CalvinKirs
Copy link
Member Author

run buildall

@yiguolei yiguolei merged commit a9d7694 into apache:branch-4.0 Mar 13, 2026
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants