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

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

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 9403dfa93 -> 183eb2722


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/183eb272
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/183eb272
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/183eb272

Branch: refs/heads/branch-2.1
Commit: 183eb2722afb4f8300e15035157ac90d137dcc3f
Parents: 9403dfa
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Tue Dec 1 13:36:37 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Tue Dec 1 13:36:37 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/183eb272/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/183eb272/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