abstractdog commented on code in PR #5174:
URL: https://github.com/apache/hive/pull/5174#discussion_r1551544402
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java:
##########
@@ -444,4 +572,12 @@ private AvailableSlotsCalculator
getAvailableSlotsCalculator() throws Exception
slotsCalculator.initialize(conf, this);
return slotsCalculator;
}
+
+ /**
+ * Convenience method for callers that want to disable the serialization of
splits to filesystem.
+ */
+ public HiveSplitGenerator splitFsSerialization(boolean splitFsSerialization)
{
Review Comment:
LOL, right, I just used this for disabling :D
I'll fix this to something like:
```
public HiveSplitGenerator splitFsSerialization(boolean
splitFsSerialization) {
HiveConf.setIntVar(jobConf,
HiveConf.ConfVars.HIVE_TEZ_SPLIT_FS_SERIALIZATION_THRESHOLD,
splitFsSerialization ?
HiveConf.ConfVars.HIVE_TEZ_SPLIT_FS_SERIALIZATION_THRESHOLD.getDefaultValue() :
-1);
return this;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]