jerqi commented on code in PR #55:
URL: https://github.com/apache/incubator-uniffle/pull/55#discussion_r921870100
##########
client-mr/src/main/java/org/apache/hadoop/mapreduce/task/reduce/RssRemoteMergeManagerImpl.java:
##########
@@ -140,6 +141,14 @@ public RssRemoteMergeManagerImpl(String appId,
TaskAttemptID reduceId, JobConf j
this.mergedMapOutputsCounter = mergedMapOutputsCounter;
try {
+ // Use minimized replica, because spilled data can be recomputed by
reduce task.
+ // Instead, we use more retries on HDFS client.
+ int replication =
remoteConf.getInt(RssMRConfig.RSS_REDUCE_REMOTE_SPILL_REPLICATION,
Review Comment:
remoteConf only contains jobConf, doesn't contain rssConf.
##########
client-mr/src/main/java/org/apache/hadoop/mapreduce/task/reduce/RssRemoteMergeManagerImpl.java:
##########
@@ -140,6 +141,14 @@ public RssRemoteMergeManagerImpl(String appId,
TaskAttemptID reduceId, JobConf j
this.mergedMapOutputsCounter = mergedMapOutputsCounter;
try {
+ // Use minimized replica, because spilled data can be recomputed by
reduce task.
+ // Instead, we use more retries on HDFS client.
+ int replication =
remoteConf.getInt(RssMRConfig.RSS_REDUCE_REMOTE_SPILL_REPLICATION,
Review Comment:
RemoteConf only contains jobConf, doesn't contain rssConf.
--
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]