falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pall...@apache.org
Subject falcon git commit: FALCON-1823 [BUG] wrong permissions on folders in distributed mode deb
Date Mon, 15 Feb 2016 10:01:33 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 6a29ae114 -> 67c29705a


FALCON-1823 [BUG] wrong permissions on folders in distributed mode deb

Testing :

Before:

If we extract the tar in target and run mvn clean install we get error :

rm: cannot remove ‘falcon-distributed-0.10-SNAPSHOT/hadooplibs/curator-framework-2.6.0.jar’:
Permission denied
drw-r--r-- 2 praveen praveen 4.0K Feb  5 16:20 conf

There was no read permissions for files under conf because of which prism was not able to
start.

After:

drwxr--r-- 2 dataqa dataqa 4.0K Feb  5 16:20 conf

$ bin/prism-start
Hadoop is installed, adding hadoop classpath to falcon classpath
prism started using hadoop version:  Hadoop 2.6.0.2.2.0.0-2041
$ bin/falcon-start
Hadoop is installed, adding hadoop classpath to falcon classpath
falcon started using hadoop version:  Hadoop 2.6.0.2.2.0.0-2041
$ bin/falcon-status
Hadoop is installed, adding hadoop classpath to falcon classpath
falcon process is running with PID: 31752
$ bin/prism-status
Hadoop is installed, adding hadoop classpath to falcon classpath
prism process is running with PID: 3167

Author: Praveen Adlakha <adlakha.praveen@gmail.com>

Reviewers: Peeyush Bishnoi <peeyushb@hortonworks.com>, Pallavi Rao <pallavi.rao@inmobi.com>

Closes #36 from PraveenAdlakha/1823


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/67c29705
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/67c29705
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/67c29705

Branch: refs/heads/master
Commit: 67c29705a4db5399bd51c1476387d0b4320b1a44
Parents: 6a29ae1
Author: Praveen Adlakha <adlakha.praveen@gmail.com>
Authored: Mon Feb 15 15:31:16 2016 +0530
Committer: Pallavi Rao <pallavi.rao@inmobi.com>
Committed: Mon Feb 15 15:31:16 2016 +0530

----------------------------------------------------------------------
 src/main/assemblies/distributed-package.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/67c29705/src/main/assemblies/distributed-package.xml
----------------------------------------------------------------------
diff --git a/src/main/assemblies/distributed-package.xml b/src/main/assemblies/distributed-package.xml
index 03d38a1..2eff638 100644
--- a/src/main/assemblies/distributed-package.xml
+++ b/src/main/assemblies/distributed-package.xml
@@ -30,7 +30,7 @@
             <directory>../src/conf/</directory>
             <outputDirectory>conf</outputDirectory>
             <fileMode>0644</fileMode>
-            <directoryMode>0644</directoryMode>
+            <directoryMode>0755</directoryMode>
             <excludes>
                 <exclude>client.properties</exclude>
                 <exclude>prism-client.properties</exclude>
@@ -113,7 +113,7 @@
             <directory>../hadoop-dependencies/target/dependency</directory>
             <outputDirectory>hadooplibs</outputDirectory>
             <fileMode>0644</fileMode>
-            <directoryMode>0644</directoryMode>
+            <directoryMode>0755</directoryMode>
         </fileSet>
 
         <fileSet>


Mime
View raw message