Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-28748: Docker: Redirect daemon's logs to STDOUT #5638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okumin
Copy link
Contributor

@okumin okumin commented Feb 9, 2025

What changes were proposed in this pull request?

Put the default log4j properties in the official Docker image.

Why are the changes needed?

File-based logging is inconvenient, and it doesn't follow the common practice of containers.

Does this PR introduce any user-facing change?

Yes.

Is the change a dependency upgrade?

No.

How was this patch tested?

I tested the output in my local machine.

<property>
<name>hive.compactor.worker.threads</name>
<value>1</value>
</property>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration is required to run major compactions. I created this patch while while I was debugging OPTIMIZE TABLE ... REWRITE DATA of Iceberg tables.

2025-02-09T13:03:22,303  WARN [main] server.HiveServer2: Invalid number of Compactor Worker threads(0) on HS2
2025-02-09T13:03:22,315  WARN [main] server.HiveServer2: No default compaction pool configured, all non-labeled compaction requests will remain unprocessed!

Copy link

sonarqubecloud bot commented Feb 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants