Skip to content

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

Merged
okumin merged 1 commit into
apache:masterfrom
okumin:HIVE-28748-stdout
Feb 16, 2025
Merged

HIVE-28748: Docker: Redirect daemon's logs to STDOUT#5638
okumin merged 1 commit into
apache:masterfrom
okumin:HIVE-28748-stdout

Conversation

@okumin

@okumin okumin commented Feb 9, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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!

@sonarqubecloud

sonarqubecloud Bot commented Feb 9, 2025

Copy link
Copy Markdown

@deniskuzZ deniskuzZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM +1

@okumin
okumin merged commit e8fc30c into apache:master Feb 16, 2025
@okumin
okumin deleted the HIVE-28748-stdout branch February 16, 2025 04:40
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.

4 participants