Skip to content

Conversation

@abstractdog
Copy link
Contributor

@abstractdog abstractdog commented Nov 29, 2023

What changes were proposed in this pull request?

Increasing tez.am.resource.memory.mb for tez based iceberg cli driver.

Why are the changes needed?

To improve test stability.

Does this PR introduce any user-facing change?

No.

Is the change a dependency upgrade?

No.

How was this patch tested?

Precommit.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

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

LGTM

<property>
<name>tez.am.resource.memory.mb</name>
<value>256</value>
<value>512</value>
Copy link
Member

@deniskuzZ deniskuzZ Nov 29, 2023

Choose a reason for hiding this comment

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

not sure if that is required, as there were no issues upstream so far, but it won't harm

Copy link
Member

@deniskuzZ deniskuzZ Nov 29, 2023

Choose a reason for hiding this comment

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

btw, should we drop hive.tez.container.size from tez and llap tez-site.xml? the same thing is set in hive-site.xml but with a lower limit - 128 vs 512

Copy link
Contributor Author

@abstractdog abstractdog Nov 30, 2023

Choose a reason for hiding this comment

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

hive.tez.container.size is for task containers in particular (it's used to create the Resource object which is provided to yarn), whereas tez.am.resource.memory.mb is for the Application Master, so basically, it would make sense to review it in (only) case of llap drivers' config, as it's confusing: LLAP is not Tez container mode

regarding duplicated stuff in hive-site.xml and tez-site.xml...yeah, it's confusing too, let me check

regarding upstream failures: yeah, I cannot recall precommit issue in particular, however there were some in downstream, so as you said: it won't harm

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@abstractdog
Copy link
Contributor Author

@abstractdog
Copy link
Contributor Author

other confusing stuff regarding hive.tez.container.size will be handled in HIVE-27937

@abstractdog
Copy link
Contributor Author

looks like we need this change: downstream I was able to reproduce AM OOM flakiness which disappeared with this fix

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 5, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@abstractdog abstractdog changed the title HIVE-27916: Increase tez.am.resource.memory.mb for TestIcebergCliDrver HIVE-27916: Increase tez.am.resource.memory.mb for TestIcebergCliDrver to 512MB Jan 5, 2024
@abstractdog abstractdog merged commit b7cf4ff into apache:master Jan 5, 2024
tarak271 pushed a commit to tarak271/hive-1 that referenced this pull request Feb 9, 2024
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Mar 7, 2024
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.

5 participants