You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2018/06/22 18:20:22 UTC

ranger git commit: RANGER-2134:Ranger Storm Plugin fails to download policies with Storm autocreds in classpath

Repository: ranger
Updated Branches:
  refs/heads/master 63d843160 -> 2c64ee2c8


RANGER-2134:Ranger Storm Plugin fails to download policies with Storm autocreds in classpath

Signed-off-by: rmani <rm...@hortonworks.com>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/2c64ee2c
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/2c64ee2c
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/2c64ee2c

Branch: refs/heads/master
Commit: 2c64ee2c80380b1c5e6f53c92007c04ca6219268
Parents: 63d8431
Author: rmani <rm...@hortonworks.com>
Authored: Fri Jun 15 18:36:21 2018 -0700
Committer: rmani <rm...@hortonworks.com>
Committed: Fri Jun 22 11:15:39 2018 -0700

----------------------------------------------------------------------
 src/main/assembly/storm-agent.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/2c64ee2c/src/main/assembly/storm-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/storm-agent.xml b/src/main/assembly/storm-agent.xml
index 64224ec..fdaf678 100644
--- a/src/main/assembly/storm-agent.xml
+++ b/src/main/assembly/storm-agent.xml
@@ -55,7 +55,6 @@
                     <include>org.eclipse.persistence:eclipselink</include>
                     <include>org.eclipse.persistence:javax.persistence</include>
                     <include>commons-collections:commons-collections</include>
-                    <include>com.sun.jersey:jersey-bundle</include>
                     <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                     <include>com.google.guava:guava:jar:${google.guava.version}</include>
                     <include>org.apache.httpcomponents:httpclient:jar:${httpcomponents.httpclient.version}</include>
@@ -95,6 +94,15 @@
                         <include>org.apache.ranger:credentialbuilder</include>
                     </includes>
             </dependencySet>
+            <dependencySet>
+                <outputDirectory>lib/</outputDirectory>
+                <unpack>false</unpack>
+                <directoryMode>755</directoryMode>
+                <fileMode>644</fileMode>
+                <includes>
+                    <include>com.sun.jersey:jersey-bundle:jar:${jersey-bundle.version}</include>
+                </includes>
+            </dependencySet>
         </dependencySets>
         <outputDirectory>lib/ranger-storm-plugin-impl</outputDirectory>
      </binaries>