[CELEBORN-304] Missing setIfMissing celeborn.$module.io.serverThreads (#1238)
This commit is contained in:
parent
75c83093f2
commit
bd9e0ddc1f
@ -44,7 +44,7 @@ trait RssCompressibleColumnBuilder[T <: AtomicType]
|
||||
|
||||
// The various compression schemes, while saving memory use, cause all of the data within
|
||||
// the row to become unaligned, thus causing crashes. Until a way of fixing the compression
|
||||
// is found to also allow aligned accesses this must be disabled for SPARC.
|
||||
// is found to also allow aligned accesses this must be disabled for SPARK.
|
||||
|
||||
protected def isWorthCompressing(encoder: Encoder[T]) = {
|
||||
RssCompressibleColumnBuilder.unaligned && encoder.compressionRatio < 0.8
|
||||
|
||||
@ -199,7 +199,7 @@ public abstract class ShuffleClient {
|
||||
|
||||
// Write data to a specific map partition, input data's type is Bytebuf.
|
||||
// data's type is Bytebuf to avoid copy between application and netty
|
||||
// closecallback will do some clean opertions like memory release.
|
||||
// closecallback will do some clean operations like memory release.
|
||||
public abstract int pushDataToLocation(
|
||||
String applicationId,
|
||||
int shuffleId,
|
||||
@ -209,7 +209,7 @@ public abstract class ShuffleClient {
|
||||
ByteBuf data,
|
||||
PartitionLocation location,
|
||||
BooleanSupplier closeCallBack)
|
||||
throws IOException;;
|
||||
throws IOException;
|
||||
|
||||
public abstract Optional<PartitionLocation> regionStart(
|
||||
String applicationId,
|
||||
|
||||
@ -497,7 +497,7 @@ object Utils extends Logging {
|
||||
// assuming we have all the machine's cores).
|
||||
// NB: Only set if serverThreads/clientThreads not already set.
|
||||
val numThreads = defaultNumThreads(numUsableCores)
|
||||
conf.setIfMissing(s"celeborn.$module.io.clientThreads", numThreads.toString)
|
||||
conf.setIfMissing(s"celeborn.$module.io.serverThreads", numThreads.toString)
|
||||
conf.setIfMissing(s"celeborn.$module.io.clientThreads", numThreads.toString)
|
||||
// TODO remove after releasing 0.2.0
|
||||
conf.setIfMissing(s"rss.$module.io.serverThreads", numThreads.toString)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user