From 38420754f5c55feb13d22e03ff27b0626b34ee46 Mon Sep 17 00:00:00 2001 From: Harsh J Date: Tue, 22 Sep 2015 21:37:41 +0530 Subject: [PATCH] MAPREDUCE-5045. UtilTest#isCygwin method appears to be unused. Contributed by Neelesh Srinivas Salian. (cherry picked from commit de1322aa76007832698af682a3b76042116043b9) --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ .../src/test/java/org/apache/hadoop/streaming/UtilTest.java | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index ba8386451d7..0c78be603e6 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -20,6 +20,9 @@ Release 2.8.0 - UNRELEASED IMPROVEMENTS + MAPREDUCE-5045. UtilTest#isCygwin method appears to be unused + (Neelesh Srinivas Salian via harsh) + MAPREDUCE-6291. Correct mapred queue usage command. (Brahma Reddu Battula via harsh) diff --git a/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/UtilTest.java b/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/UtilTest.java index 2766969f6a9..31e4905423b 100644 --- a/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/UtilTest.java +++ b/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/UtilTest.java @@ -117,11 +117,6 @@ class UtilTest { return collate(vargs, " "); } - public static boolean isCygwin() { - String OS = System.getProperty("os.name"); - return (OS.indexOf("Windows") > -1); - } - /** * Is perl supported on this machine ? * @return true if perl is available and is working as expected