Explorar o código

HADOOP-6158. Move CyclicIteration to HDFS. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1156854 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins %!s(int64=13) %!d(string=hai) anos
pai
achega
fdd81b2224

+ 2 - 0
hadoop-common/CHANGES.txt

@@ -317,6 +317,8 @@ Trunk (unreleased changes)
     HADOOP-7499. Add method for doing a sanity check on hostnames in NetUtils.
     (Jeffrey Naisbit via mahadev)
 
+    HADOOP-6158. Move CyclicIteration to HDFS. (eli)
+
   OPTIMIZATIONS
   
     HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole

+ 2 - 2
hadoop-common/src/main/java/org/apache/hadoop/util/CyclicIteration.java → hdfs/src/java/org/apache/hadoop/hdfs/util/CyclicIteration.java

@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.hadoop.util;
+package org.apache.hadoop.hdfs.util;
 
 import java.util.Iterator;
 import java.util.Map;
@@ -110,4 +110,4 @@ public class CyclicIteration<K, V> implements Iterable<Map.Entry<K, V>> {
       throw new UnsupportedOperationException("Not supported");
     }
   }
-}
+}

+ 1 - 1
hadoop-common/src/test/java/org/apache/hadoop/util/TestCyclicIteration.java → hdfs/src/test/hdfs/org/apache/hadoop/hdfs/util/TestCyclicIteration.java

@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.hadoop.util;
+package org.apache.hadoop.hdfs.util;
 
 import java.util.ArrayList;
 import java.util.Arrays;