Skip to content

HIVE-29331 Remove code where MAPRED_MIN_SPLIT_SIZE value is deciding …#6206

Closed
vikramahuja1001 wants to merge 1 commit intoapache:masterfrom
vikramahuja1001:master
Closed

HIVE-29331 Remove code where MAPRED_MIN_SPLIT_SIZE value is deciding …#6206
vikramahuja1001 wants to merge 1 commit intoapache:masterfrom
vikramahuja1001:master

Conversation

@vikramahuja1001
Copy link
Contributor

…split size in case of Tez

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@sonarqubecloud
Copy link

TezMapReduceSplitsGrouper.TEZ_GROUPING_SPLIT_MIN_SIZE,
TezMapReduceSplitsGrouper.TEZ_GROUPING_SPLIT_MIN_SIZE_DEFAULT);
final long preferredSplitSize = Math.min(blockSize / 2, minGrouping);
HiveConf.setLongVar(jobConf, HiveConf.ConfVars.MAPRED_MIN_SPLIT_SIZE, preferredSplitSize);
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't the same config be removed from Line 312 as well?

Copy link
Member

@deniskuzZ deniskuzZ Dec 12, 2025

Choose a reason for hiding this comment

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

MAPRED_MIN_SPLIT_SIZE is being calculated only when not explicitly set by user. I don't follow the change here

HIVE-10746: Hive 1.2.0+Tez produces 1-byte FileSplits from mapred.TextInputFormat

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@github-actions github-actions bot added the stale label Feb 11, 2026
@github-actions github-actions bot closed this Feb 19, 2026
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

Comments