You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2015/12/01 19:20:34 UTC

[44/50] ambari git commit: AMBARI-14127. App Timeline Server fails to start after cluster creation on non-hdfs fs (aonishuk)

AMBARI-14127. App Timeline Server fails to start after cluster creation on non-hdfs fs (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1d01a85a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1d01a85a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1d01a85a

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1d01a85adef1aa0d6f66e83203c45efbe9038ae5
Parents: 5cc99b2
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Tue Dec 1 13:38:01 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Tue Dec 1 13:38:35 2015 +0200

----------------------------------------------------------------------
 .../before-START/files/fast-hdfs-resource.jar   | Bin 19285282 -> 19285353 bytes
 .../ambari/fast_hdfs_resource/Resource.java     |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1d01a85a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar
index defde28..98a7f66 100644
Binary files a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar and b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/1d01a85a/contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Resource.java
----------------------------------------------------------------------
diff --git a/contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Resource.java b/contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Resource.java
index 21750e1..3d2f182 100644
--- a/contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Resource.java
+++ b/contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Resource.java
@@ -214,7 +214,7 @@ public class Resource {
       FileSystem dfs, Path pathHadoop) throws IOException {
 
     if (resource.getMode() != null) {
-      FsPermission permission = new FsPermission(resource.getMode());
+      FsPermission permission = new FsPermission(Short.valueOf(resource.getMode()));
       dfs.setPermission(pathHadoop, permission);
 
       // Recursive