Updated Branches: refs/heads/trunk 8c42e3f9b -> 2d7c84c80
GIRAPH-254: Constant Variable name misspelled in HashMasterPartitioner.java (Gustavo Salazar Torres via ereisman) Project: http://git-wip-us.apache.org/repos/asf/giraph/repo Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/2d7c84c8 Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/2d7c84c8 Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/2d7c84c8 Branch: refs/heads/trunk Commit: 2d7c84c802f9981778882a70df3ea988b9c38d61 Parents: 8c42e3f Author: Eli Reisman <[email protected]> Authored: Wed Jan 16 17:29:14 2013 -0800 Committer: Eli Reisman <[email protected]> Committed: Wed Jan 16 17:29:14 2013 -0800 ---------------------------------------------------------------------- CHANGELOG | 2 ++ .../giraph/partition/HashMasterPartitioner.java | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/giraph/blob/2d7c84c8/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index 5fbda9a..57ca440 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ Giraph Change Log Release 0.2.0 - unreleased + GIRAPH-254: Constant Variable name misspelled in HashMasterPartitioner.java (Gustavo Salazar Torres via ereisman) + GIRAPH-431: Support edge and vertex value input formats in GiraphRunner (apresta) GIRAPH-477: Fetching locality info in InputSplitPathOrganizer causes jobs to hang (apresta via ereisman) http://git-wip-us.apache.org/repos/asf/giraph/blob/2d7c84c8/giraph-core/src/main/java/org/apache/giraph/partition/HashMasterPartitioner.java ---------------------------------------------------------------------- diff --git a/giraph-core/src/main/java/org/apache/giraph/partition/HashMasterPartitioner.java b/giraph-core/src/main/java/org/apache/giraph/partition/HashMasterPartitioner.java index 3e9a9c2..fc56216 100644 --- a/giraph-core/src/main/java/org/apache/giraph/partition/HashMasterPartitioner.java +++ b/giraph-core/src/main/java/org/apache/giraph/partition/HashMasterPartitioner.java @@ -57,7 +57,7 @@ public class HashMasterPartitioner<I extends WritableComparable, * ZooKeeper has a limit of the data in a single znode of 1 MB and * each entry can go be on the average somewhat more than 300 bytes */ - private static final int MAX_PARTTIONS = 1024 * 1024 / 350; + private static final int MAX_PARTITIONS = 1024 * 1024 / 350; /** Provided configuration */ private ImmutableClassesGiraphConfiguration conf; /** Specified partition count (overrides calculation) */ @@ -104,11 +104,11 @@ public class HashMasterPartitioner<I extends WritableComparable, (availableWorkerInfos.size() * availableWorkerInfos.size()) + " partitions."); } - if (partitionCount > MAX_PARTTIONS) { + if (partitionCount > MAX_PARTITIONS) { LOG.warn("createInitialPartitionOwners: " + - "Reducing the partitionCount to " + MAX_PARTTIONS + + "Reducing the partitionCount to " + MAX_PARTITIONS + " from " + partitionCount); - partitionCount = MAX_PARTTIONS; + partitionCount = MAX_PARTITIONS; } for (int i = 0; i < partitionCount; ++i) {
