You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2012/10/01 22:39:06 UTC

svn commit: r1392578 - in /hadoop/common/branches/branch-1-win: CHANGES.branch-1-win.txt src/core/org/apache/hadoop/security/UserGroupInformation.java

Author: suresh
Date: Mon Oct  1 20:39:06 2012
New Revision: 1392578

URL: http://svn.apache.org/viewvc?rev=1392578&view=rev
Log:
HADOOP-8836. UGI should throw exception in case winutils.exe cannot be loaded. Contributed by Bikas Saha.

Modified:
    hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
    hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/security/UserGroupInformation.java

Modified: hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt?rev=1392578&r1=1392577&r2=1392578&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt (original)
+++ hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt Mon Oct  1 20:39:06 2012
@@ -137,3 +137,9 @@ BUG FIXES
     HADOOP-8733. Fix the tests TestStreamingTaskLog, TestJvmManager
     and TestLinuxTaskControllerLaunchArgs to not fail on Windows. (Ivan Mitic via
     vinodkv)
+
+    HADOOP-8694. Add support for windows native symbolic links.
+    (Chuan Liu via suresh)
+    
+    HADOOP-8836. UGI should throw exception in case winutils.exe cannot be
+    loaded. (Bikas Saha via suresh)

Modified: hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/security/UserGroupInformation.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/security/UserGroupInformation.java?rev=1392578&r1=1392577&r2=1392578&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/security/UserGroupInformation.java (original)
+++ hadoop/common/branches/branch-1-win/src/core/org/apache/hadoop/security/UserGroupInformation.java Mon Oct  1 20:39:06 2012
@@ -1040,7 +1040,7 @@ public class UserGroupInformation {
       List<String> result = groups.getGroups(getShortUserName());
       return result.toArray(new String[result.size()]);
     } catch (IOException ie) {
-      LOG.warn("No groups available for user " + getShortUserName());
+      LOG.warn("No groups available for user " + getShortUserName(), ie);
       return new String[0];
     }
   }