You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2013/09/19 04:31:36 UTC
svn commit: r1524616 -
/hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java
Author: thejas
Date: Thu Sep 19 02:31:35 2013
New Revision: 1524616
URL: http://svn.apache.org/r1524616
Log:
HIVE-5313 - HIVE-4487 breaks build because 0.20.2 is missing FSPermission(string) (Brock Noland)
Modified:
hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java
Modified: hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java?rev=1524616&r1=1524615&r2=1524616&view=diff
==============================================================================
--- hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java (original)
+++ hive/branches/branch-0.12/ql/src/java/org/apache/hadoop/hive/ql/Context.java Thu Sep 19 02:31:35 2013
@@ -206,7 +206,7 @@ public class Context {
throw new RuntimeException("Cannot make directory: "
+ dirPath.toString());
} else {
- FsPermission fsPermission = new FsPermission(scratchDirPermission);
+ FsPermission fsPermission = new FsPermission(Short.parseShort(scratchDirPermission));
fs.setPermission(dirPath, fsPermission);
}
if (isHDFSCleanup) {