hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r652119 - in /hadoop/core/trunk: CHANGES.txt src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java
Date Tue, 29 Apr 2008 21:05:36 GMT
Author: omalley
Date: Tue Apr 29 14:05:35 2008
New Revision: 652119

URL: http://svn.apache.org/viewvc?rev=652119&view=rev
Log:
HADOOP-3318. Recognize "Darwin" as an alias for "Mac OS X" to
support Soylatte. Contributed by Sam Pullara.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=652119&r1=652118&r2=652119&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Apr 29 14:05:35 2008
@@ -102,6 +102,9 @@
     HADOOP-3313. Avoid unnecessary calls to System.currentTimeMillis
     in RPC::Invoker. (cdouglas)
 
+    HADOOP-3318. Recognize "Darwin" as an alias for "Mac OS X" to
+    support Soylatte. (Sam Pullara via omalley)
+
 Release 0.17.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java?rev=652119&r1=652118&r2=652119&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java
(original)
+++ hadoop/core/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/Environment.java
Tue Apr 29 14:05:35 2008
@@ -43,7 +43,7 @@
                || lowerOs.indexOf("freebsd") > -1 || lowerOs.indexOf("sunos") > -1
                || lowerOs.indexOf("solaris") > -1 || lowerOs.indexOf("hp-ux") > -1)
{
       command = "env";
-    } else if (lowerOs.startsWith("mac os x")) {
+    } else if (lowerOs.startsWith("mac os x") || lowerOs.startsWith("darwin")) {
       command = "env";
     } else {
       // Add others here



Mime
View raw message