Browse Source

HDFS-9885. Correct the distcp counters name while displaying counters. Contributed by Surendra Singh Lilhore

(cherry picked from commit e17a4970bea8213660bb6c550104783069153236)
Brahma Reddy Battula 8 years ago
parent
commit
5737d04c5f

+ 24 - 0
hadoop-tools/hadoop-distcp/src/main/resources/org/apache/hadoop/tools/mapred/CopyMapper_Counter.properties

@@ -0,0 +1,24 @@
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
+# ResourceBundle properties file for DistCp counters
+
+CounterGroupName=         DistCp Counters
+
+COPY.name=                Files Copied
+SKIP.name=                Files Skipped
+FAIL.name=                Files Failed
+BYTESCOPIED.name=         Bytes Copied
+BYTESEXPECTED.name=       Bytes Expected
+BYTESFAILED.name=         Bytes Failed
+BYTESSKIPPED.name=        Bytes Skipped
+BANDWIDTH_IN_BYTES.name=  Bandwidth in Btyes