HADOOP-10126. Merge change 1545376 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1545379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
543db74645
commit
e3f9960a7d
|
@ -98,6 +98,8 @@ Release 2.3.0 - UNRELEASED
|
|||
HADOOP-10111. Allow DU to be initialized with an initial value (Kihwal Lee
|
||||
via jeagles)
|
||||
|
||||
HADOOP-10126. LightWeightGSet log message is confusing. (Vinay via suresh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-9748. Reduce blocking on UGI.ensureInitialized (daryn)
|
||||
|
|
|
@ -327,8 +327,11 @@ public class LightWeightGSet<K, E extends K> implements GSet<K, E> {
|
|||
|
||||
LOG.info("Computing capacity for map " + mapName);
|
||||
LOG.info("VM type = " + vmBit + "-bit");
|
||||
LOG.info(percentage + "% max memory = "
|
||||
+ StringUtils.TraditionalBinaryPrefix.long2String(maxMemory, "B", 1));
|
||||
LOG.info(percentage + "% max memory "
|
||||
+ StringUtils.TraditionalBinaryPrefix.long2String(maxMemory, "B", 1)
|
||||
+ " = "
|
||||
+ StringUtils.TraditionalBinaryPrefix.long2String((long) percentMemory,
|
||||
"B", 1));
|
||||
LOG.info("capacity = 2^" + exponent + " = " + c + " entries");
|
||||
return c;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue