[jira] [Commented] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135225#comment-17135225 ] Santosh commented on RANGER-2859: - Mdhan, I am need the 2.0. Not sure if my git clone might have pointed to master. But I did run against the 2.0 and same issue. Can you please provide instructions to build below plugins. That should get me the plugin I am looking for Ranger plugins for NiFi and NiFi-Registry are not part of Ranger repository. The implementations are available in their own repositories, as given below: - NiFi plugin: [https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin] - NiFi Registry plugin: at [https://github.com/apache/nifi-registry/tree/master/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin] > Trying to install apache ranger2.0 from apache project but not able to obtain > the plugin for nifi and nifi-registry post build. > --- > > Key: RANGER-2859 > URL: https://issues.apache.org/jira/browse/RANGER-2859 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: 2.0.0 > Environment: Dev >Reporter: Santosh >Priority: Blocker > Attachments: mavenbuildLog.out > > > Tried downloading the source tar from below location for apache ranger 2.0 > and ran maven to build the install binaries. > > [*http://apache.mirrors.pair.com/ranger/2.0.0/apache-ranger-2.0.0.tar.gz*] > > I am unable to obtain the plugins post build for nifi and nifi registry for > some reason. I also tried git build directly pointing to source ranger 2.0 > snapshot but no luck. Please take a look and see if anyone has any insights > on this. Please reach out to me if you have any questions. > > After maven build is completed this is what it looks like in the target > folder. > > apache-ranger-2.0.0/target > [root@nifi04 target]# ls -lrt > total 1310660 > drwxr-xr-x 3 root root 21 Jun 12 18:29 maven-shared-archive-resources > drwxr-xr-x 2 root root 27 Jun 12 18:29 antrun > -rw-r--r-- 1 root root 5 Jun 12 18:41 version > drwxr-xr-x 2 root root 6 Jun 12 18:44 archive-tmp > -rw-r--r-- 1 root root 23971518 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.tar.gz > -rw-r--r-- 1 root root 23997609 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.zip > -rw-r--r-- 1 root root 23826208 Jun 12 18:45 ranger-2.0.0-hive-plugin.tar.gz > -rw-r--r-- 1 root root 23854842 Jun 12 18:45 ranger-2.0.0-hive-plugin.zip > -rw-r--r-- 1 root root 26647396 Jun 12 18:45 ranger-2.0.0-hbase-plugin.tar.gz > -rw-r--r-- 1 root root 2101 Jun 12 18:45 ranger-2.0.0-hbase-plugin.zip > -rw-r--r-- 1 root root 28391056 Jun 12 18:46 ranger-2.0.0-knox-plugin.tar.gz > -rw-r--r-- 1 root root 28411089 Jun 12 18:46 ranger-2.0.0-knox-plugin.zip > -rw-r--r-- 1 root root 37234835 Jun 12 18:46 ranger-2.0.0-storm-plugin.tar.gz > -rw-r--r-- 1 root root 37268867 Jun 12 18:47 ranger-2.0.0-storm-plugin.zip > -rw-r--r-- 1 root root 39935738 Jun 12 18:47 ranger-2.0.0-kafka-plugin.tar.gz > -rw-r--r-- 1 root root 39984008 Jun 12 18:47 ranger-2.0.0-kafka-plugin.zip > -rw-r--r-- 1 root root 23958607 Jun 12 18:47 ranger-2.0.0-yarn-plugin.tar.gz > -rw-r--r-- 1 root root 23992472 Jun 12 18:48 ranger-2.0.0-yarn-plugin.zip > -rw-r--r-- 1 root root 26388332 Jun 12 18:48 ranger-2.0.0-ozone-plugin.tar.gz > -rw-r--r-- 1 root root 26421265 Jun 12 18:48 ranger-2.0.0-ozone-plugin.zip > -rw-r--r-- 1 root root 26977612 Jun 12 18:49 ranger-2.0.0-solr-plugin.tar.gz > -rw-r--r-- 1 root root 27010184 Jun 12 18:49 ranger-2.0.0-solr-plugin.zip > -rw-r--r-- 1 root root 248574063 Jun 12 18:54 ranger-2.0.0-admin.tar.gz > -rw-r--r-- 1 root root 249669120 Jun 12 19:00 ranger-2.0.0-admin.zip > -rw-r--r-- 1 root root 42210 Jun 12 19:00 > ranger-2.0.0-solr_audit_conf.tar.gz > -rw-r--r-- 1 root root 45636 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.zip > -rw-r--r-- 1 root root 16256274 Jun 12 19:00 ranger-2.0.0-usersync.tar.gz > -rw-r--r-- 1 root root 16280481 Jun 12 19:00 ranger-2.0.0-usersync.zip > -rw-r--r-- 1 root root 32771327 Jun 12 19:01 ranger-2.0.0-tagsync.tar.gz > -rw-r--r-- 1 root root 32781600 Jun 12 19:01 ranger-2.0.0-tagsync.zip > -rw-r--r-- 1 root root 34221 Jun 12 19:01 > ranger-2.0.0-migration-util.tar.gz > -rw-r--r-- 1 root root 37740 Jun 12 19:01 ranger-2.0.0-migration-util.zip > -rw-r--r-- 1 root root 90990177 Jun 12 19:02 ranger-2.0.0-kms.tar.gz > -rw-r--r-- 1 root root 91106503 Jun 12 19:04 ranger-2.0.0-kms.zip > -rw-r--r-- 1 root root 22231350 Jun 12 19:04 ranger-2.0.0-ranger-tools.tar.gz > -rw-r--r-- 1 root root 22248295 Jun 12 19:05 ranger-2.0.0-ranger-tools.zip > -rw-r--r-- 1 root root 4039688 Jun
[jira] [Commented] (RANGER-2860) Documentaion to build and install ranger
[ https://issues.apache.org/jira/browse/RANGER-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135216#comment-17135216 ] Santosh commented on RANGER-2860: - Thanks Ramesh ! Where can I find the build binaries and steps to build the nifi-plugin-version.tgz and nifi-registry plugin build? > Documentaion to build and install ranger > > > Key: RANGER-2860 > URL: https://issues.apache.org/jira/browse/RANGER-2860 > Project: Ranger > Issue Type: Improvement > Components: documentation >Affects Versions: 2.0.0 >Reporter: Santosh >Priority: Major > > I am trying to build and install apache ranger 2.0. Looking at the install > guide, it is very old and most of the steps including the plugins for nifi > and nifi registry install missing. Can you please point me if this is the > right location to find it? > [https://cwiki.apache.org/confluence/display/RANGER/Ranger+Installation+Guide] > > Thanks in advance !! > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135034#comment-17135034 ] Santosh commented on RANGER-2859: - *NFO*] *Tests run: 4*, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.725 s - in org.apache.ranger.authorization.kafka.authorizer.*KafkaRangerAuthorizerTest* 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:551 - ==> JVMShutdownHook.run() 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:552 - JVMShutdownHook: Signalling async audit cleanup to start. 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:556 - JVMShutdownHook: Waiting up to 30 seconds for audit cleanup to finish. 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:522 - RangerAsyncAuditCleanup: Starting cleanup 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:526 - RangerAsyncAuditCleanup: Done cleanup 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:515 - RangerAsyncAuditCleanup: Waiting to audit cleanup start signal 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:559 - JVMShutdownHook: Audit cleanup finished after 1 milli seconds 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:566 - JVMShutdownHook: Interrupting ranger async audit cleanup thread 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:568 - <== JVMShutdownHook.run() 2020-06-14 05:14:06 INFO org.apache.ranger.audit.provider.AuditProviderFactory:519 - RangerAsyncAuditCleanup: Interrupted while waiting for audit startCleanup signal! Exiting the thread... java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304) at java.util.concurrent.Semaphore.acquire(Semaphore.java:312) at org.apache.ranger.audit.provider.AuditProviderFactory$RangerAsyncAuditCleanup.run(AuditProviderFactory.java:517) at java.lang.Thread.run(Thread.java:748) [*INFO*] [*INFO*] Results: [*INFO*] [*WARNING*] *Tests run: 5, Failures: 0, Errors: 0, Skipped: 1* [*INFO*] [*INFO*] [*INFO*] ** [*INFO*] *Skipping ranger* [*INFO*] This project has been banned from the build due to previous failures. [*INFO*] ** [*INFO*] [*INFO*] ** [*INFO*] *Skipping ranger* [*INFO*] This project has been banned from the build due to previous failures. [*INFO*] ** [*INFO*] ** [*INFO*] *Reactor Summary for ranger 2.1.0-SNAPSHOT:* [*INFO*] [*INFO*] ranger . *SUCCESS* [ 7.554 s] [*INFO*] Jdbc SQL Connector . *SUCCESS* [ 5.676 s] [*INFO*] Credential Support . *SUCCESS* [ 16.941 s] [*INFO*] Audit Component *SUCCESS* [ 16.979 s] [*INFO*] ranger-plugin-classloader .. *SUCCESS* [ 4.398 s] [*INFO*] Common library for Plugins . *SUCCESS* [ 42.643 s] [*INFO*] Installer Support Component *SUCCESS* [ 2.465 s] [*INFO*] Credential Builder . *SUCCESS* [ 11.235 s] [*INFO*] Embedded Web Server Invoker *SUCCESS* [ 9.268 s] [*INFO*] Key Management Service . *SUCCESS* [ 42.130 s] [*INFO*] HBase Security Plugin Shim . *SUCCESS* [ 13.040 s] [*INFO*] HBase Security Plugin .. *SUCCESS* [ 32.178 s] [*INFO*] Hdfs Security Plugin ... *SUCCESS* [ 37.278 s] [*INFO*] Hive Security Plugin ... *SUCCESS* [02:28 min] [*INFO*] Knox Security Plugin Shim .. *SUCCESS* [ 10.239 s] [*INFO*] Knox Security Plugin ... *SUCCESS* [01:01 min] [*INFO*] Storm Security Plugin .. *SUCCESS* [ 20.380 s] [*INFO*] YARN Security Plugin ... *SUCCESS* [ 8.404 s] [*INFO*] Ozone Security Plugin .. *SUCCESS* [ 10.275 s] [*INFO*] Ranger Util *SUCCESS* [ 6.289 s] [*INFO*] Unix Authentication Client . *SUCCESS* [
[jira] [Commented] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135032#comment-17135032 ] Santosh commented on RANGER-2859: - When using with tests, getting below error mvn clean compile package assembly:assembly install 2020-06-14 05:00:46,600 ERROR [main] validation.RangerServiceDefHelper: Error in path: sink node:[Column] is not leaf node [*INFO*] *Tests run: 7*, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 s - in org.apache.ranger.plugin.model.validation.*TestRangerServiceDefHelper* [*INFO*] Running org.apache.ranger.plugin.model.validation.*RangerSecurityZoneValidatorTest* 2020-06-14 05:00:46,823 ERROR [main] validation.RangerSecurityZoneValidator: Failed to get Security-Zones java.lang.NullPointerException at org.apache.ranger.plugin.model.validation.RangerSecurityZoneValidator.validateAgainstAllSecurityZones(RangerSecurityZoneValidator.java:304) at org.apache.ranger.plugin.model.validation.RangerSecurityZoneValidator.isValid(RangerSecurityZoneValidator.java:204) at org.apache.ranger.plugin.model.validation.RangerSecurityZoneValidator.validate(RangerSecurityZoneValidator.java:66) at org.apache.ranger.plugin.model.validation.RangerSecurityZoneValidatorTest.testValidateWhileFetchingSecurityZoneForCreateThrowsError(RangerSecurityZoneValidatorTest.java:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) [*INFO*] *Tests run: 18*, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 s - in org.apache.ranger.plugin.model.validation.*RangerSecurityZoneValidatorTest* [*INFO*] Running org.apache.ranger.plugin.model.validation.*TestRangerServiceDefValidator* [*INFO*] *Tests run: 19*, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.503 s - in org.apache.ranger.plugin.model.validation.*TestRangerServiceDefValidator* [*INFO*] Running org.apache.ranger.plugin.model.validation.*TestDirectedGraph* [*INFO*] *Tests run: 1*, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.ranger.plugin.model.validation.*TestDirectedGraph* [*INFO*] Running org.apache.ranger.plugin.mo 05:04:59.823 [29166016-d7b1-48cc-af59-365cc9fcc1ee HiveServer2-Handler-Pool: Thread-144] ERROR org.apache.ranger.authorization.hadoop.config.RangerConfiguration - addResourceIfReadable(ranger-hive-audit.xml): couldn't find resource file location 05:05:00.012 [29166016-d7b1-48cc-af59-365cc9fcc1ee HiveServer2-Handler-Pool: Thread-144] ERROR
[jira] [Commented] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17135023#comment-17135023 ] Santosh commented on RANGER-2859: - Tried git option too. Getting below errors Tried with skipTests as with tests it was failing to build. With skipTests still getting below error. mvn clean compile package assembly:assembly install -DskipTests [INFO] Building tar: /opt/ranger/ranger/target/ranger-2.1.0-SNAPSHOT-admin.tar.gz [WARNING] When creating tar entry java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy56.getContents (Unknown Source) at org.codehaus.plexus.components.io.resources.Deferred.getContents (Deferred.java:60) at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke (ResourceInvocationHandler.java:62) at com.sun.proxy.$Proxy56.getContents (Unknown Source) at org.codehaus.plexus.archiver.ArchiveEntry.getInputStream (ArchiveEntry.java:126) at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile (TarArchiver.java:316) at org.codehaus.plexus.archiver.tar.TarArchiver.execute (TarArchiver.java:171) at org.codehaus.plexus.archiver.AbstractArchiver.createArchive (AbstractArchiver.java:916) at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive (AssemblyProxyArchiver.java:445) at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive (DefaultAssemblyArchiver.java:181) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute (AbstractAssemblyMojo.java:484) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor355.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke (ResourceInvocationHandler.java:78) at com.sun.proxy.$Proxy56.getContents (Unknown Source) at org.codehaus.plexus.components.io.resources.Deferred.getContents (Deferred.java:60) at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke (ResourceInvocationHandler.java:62) at com.sun.proxy.$Proxy56.getContents (Unknown Source) at org.codehaus.plexus.archiver.ArchiveEntry.getInputStream (ArchiveEntry.java:126) at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile (TarArchiver.java:316) at org.codehaus.plexus.archiver.tar.TarArchiver.execute (TarArchiver.java:171) at
[jira] [Created] (RANGER-2860) Documentaion to build and install ranger
Santosh created RANGER-2860: --- Summary: Documentaion to build and install ranger Key: RANGER-2860 URL: https://issues.apache.org/jira/browse/RANGER-2860 Project: Ranger Issue Type: Improvement Components: documentation Affects Versions: 2.0.0 Reporter: Santosh I am trying to build and install apache ranger 2.0. Looking at the install guide, it is very old and most of the steps including the plugins for nifi and nifi registry install missing. Can you please point me if this is the right location to find it? [https://cwiki.apache.org/confluence/display/RANGER/Ranger+Installation+Guide] Thanks in advance !! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17134976#comment-17134976 ] Santosh edited comment on RANGER-2859 at 6/13/20, 11:19 PM: Thanks Madhan ! I am running into an issue while running the build with what's in ranger2.0 binary. I am attaching the build log too. I am I missing anything ? [INFO] Running org.apache.ranger.plugin.policyengine.TestPolicyEngine Audit properties file missing: xasecure-audit.properties provider=org.apache.ranger.audit.provider.DummyAuditProvider@63e2203c 2020-06-13 19:28:43,904 ERROR [main] config.RangerConfiguration: addResourceIfReadable(ranger-standalone-audit.xml): couldn't find resource file location 2020-06-13 19:28:43,905 ERROR [main] service.RangerBasePlugin: StandAlone audit handler configuration not readable:[ranger-standalone-audit.xml] [^mavenbuildLog.out] was (Author: santosh239): Thanks Madhan ! I am running into an issue while running the build with whats in ranger2.0 binary. I am attaching the build log too. I am I missing anything ? [INFO] Running org.apache.ranger.plugin.policyengine.TestPolicyEngine Audit properties file missing: xasecure-audit.properties provider=org.apache.ranger.audit.provider.DummyAuditProvider@63e2203c 2020-06-13 19:28:43,904 ERROR [main] config.RangerConfiguration: addResourceIfReadable(ranger-standalone-audit.xml): couldn't find resource file location 2020-06-13 19:28:43,905 ERROR [main] service.RangerBasePlugin: StandAlone audit handler configuration not readable:[ranger-standalone-audit.xml] [^mavenbuildLog.out] > Trying to install apache ranger2.0 from apache project but not able to obtain > the plugin for nifi and nifi-registry post build. > --- > > Key: RANGER-2859 > URL: https://issues.apache.org/jira/browse/RANGER-2859 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: 2.0.0 > Environment: Dev >Reporter: Santosh >Priority: Blocker > Attachments: mavenbuildLog.out > > > Tried downloading the source tar from below location for apache ranger 2.0 > and ran maven to build the install binaries. > > [*http://apache.mirrors.pair.com/ranger/2.0.0/apache-ranger-2.0.0.tar.gz*] > > I am unable to obtain the plugins post build for nifi and nifi registry for > some reason. I also tried git build directly pointing to source ranger 2.0 > snapshot but no luck. Please take a look and see if anyone has any insights > on this. Please reach out to me if you have any questions. > > After maven build is completed this is what it looks like in the target > folder. > > apache-ranger-2.0.0/target > [root@nifi04 target]# ls -lrt > total 1310660 > drwxr-xr-x 3 root root 21 Jun 12 18:29 maven-shared-archive-resources > drwxr-xr-x 2 root root 27 Jun 12 18:29 antrun > -rw-r--r-- 1 root root 5 Jun 12 18:41 version > drwxr-xr-x 2 root root 6 Jun 12 18:44 archive-tmp > -rw-r--r-- 1 root root 23971518 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.tar.gz > -rw-r--r-- 1 root root 23997609 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.zip > -rw-r--r-- 1 root root 23826208 Jun 12 18:45 ranger-2.0.0-hive-plugin.tar.gz > -rw-r--r-- 1 root root 23854842 Jun 12 18:45 ranger-2.0.0-hive-plugin.zip > -rw-r--r-- 1 root root 26647396 Jun 12 18:45 ranger-2.0.0-hbase-plugin.tar.gz > -rw-r--r-- 1 root root 2101 Jun 12 18:45 ranger-2.0.0-hbase-plugin.zip > -rw-r--r-- 1 root root 28391056 Jun 12 18:46 ranger-2.0.0-knox-plugin.tar.gz > -rw-r--r-- 1 root root 28411089 Jun 12 18:46 ranger-2.0.0-knox-plugin.zip > -rw-r--r-- 1 root root 37234835 Jun 12 18:46 ranger-2.0.0-storm-plugin.tar.gz > -rw-r--r-- 1 root root 37268867 Jun 12 18:47 ranger-2.0.0-storm-plugin.zip > -rw-r--r-- 1 root root 39935738 Jun 12 18:47 ranger-2.0.0-kafka-plugin.tar.gz > -rw-r--r-- 1 root root 39984008 Jun 12 18:47 ranger-2.0.0-kafka-plugin.zip > -rw-r--r-- 1 root root 23958607 Jun 12 18:47 ranger-2.0.0-yarn-plugin.tar.gz > -rw-r--r-- 1 root root 23992472 Jun 12 18:48 ranger-2.0.0-yarn-plugin.zip > -rw-r--r-- 1 root root 26388332 Jun 12 18:48 ranger-2.0.0-ozone-plugin.tar.gz > -rw-r--r-- 1 root root 26421265 Jun 12 18:48 ranger-2.0.0-ozone-plugin.zip > -rw-r--r-- 1 root root 26977612 Jun 12 18:49 ranger-2.0.0-solr-plugin.tar.gz > -rw-r--r-- 1 root root 27010184 Jun 12 18:49 ranger-2.0.0-solr-plugin.zip > -rw-r--r-- 1 root root 248574063 Jun 12 18:54 ranger-2.0.0-admin.tar.gz > -rw-r--r-- 1 root root 249669120 Jun 12 19:00 ranger-2.0.0-admin.zip > -rw-r--r-- 1 root root 42210 Jun 12 19:00 > ranger-2.0.0-solr_audit_conf.tar.gz > -rw-r--r-- 1 root root 45636 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.zip >
[jira] [Commented] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17134976#comment-17134976 ] Santosh commented on RANGER-2859: - Thanks Madhan ! I am running into an issue while running the build with whats in ranger2.0 binary. I am attaching the build log too. I am I missing anything ? [INFO] Running org.apache.ranger.plugin.policyengine.TestPolicyEngine Audit properties file missing: xasecure-audit.properties provider=org.apache.ranger.audit.provider.DummyAuditProvider@63e2203c 2020-06-13 19:28:43,904 ERROR [main] config.RangerConfiguration: addResourceIfReadable(ranger-standalone-audit.xml): couldn't find resource file location 2020-06-13 19:28:43,905 ERROR [main] service.RangerBasePlugin: StandAlone audit handler configuration not readable:[ranger-standalone-audit.xml] [^mavenbuildLog.out] > Trying to install apache ranger2.0 from apache project but not able to obtain > the plugin for nifi and nifi-registry post build. > --- > > Key: RANGER-2859 > URL: https://issues.apache.org/jira/browse/RANGER-2859 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: 2.0.0 > Environment: Dev >Reporter: Santosh >Priority: Blocker > Attachments: mavenbuildLog.out > > > Tried downloading the source tar from below location for apache ranger 2.0 > and ran maven to build the install binaries. > > [*http://apache.mirrors.pair.com/ranger/2.0.0/apache-ranger-2.0.0.tar.gz*] > > I am unable to obtain the plugins post build for nifi and nifi registry for > some reason. I also tried git build directly pointing to source ranger 2.0 > snapshot but no luck. Please take a look and see if anyone has any insights > on this. Please reach out to me if you have any questions. > > After maven build is completed this is what it looks like in the target > folder. > > apache-ranger-2.0.0/target > [root@nifi04 target]# ls -lrt > total 1310660 > drwxr-xr-x 3 root root 21 Jun 12 18:29 maven-shared-archive-resources > drwxr-xr-x 2 root root 27 Jun 12 18:29 antrun > -rw-r--r-- 1 root root 5 Jun 12 18:41 version > drwxr-xr-x 2 root root 6 Jun 12 18:44 archive-tmp > -rw-r--r-- 1 root root 23971518 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.tar.gz > -rw-r--r-- 1 root root 23997609 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.zip > -rw-r--r-- 1 root root 23826208 Jun 12 18:45 ranger-2.0.0-hive-plugin.tar.gz > -rw-r--r-- 1 root root 23854842 Jun 12 18:45 ranger-2.0.0-hive-plugin.zip > -rw-r--r-- 1 root root 26647396 Jun 12 18:45 ranger-2.0.0-hbase-plugin.tar.gz > -rw-r--r-- 1 root root 2101 Jun 12 18:45 ranger-2.0.0-hbase-plugin.zip > -rw-r--r-- 1 root root 28391056 Jun 12 18:46 ranger-2.0.0-knox-plugin.tar.gz > -rw-r--r-- 1 root root 28411089 Jun 12 18:46 ranger-2.0.0-knox-plugin.zip > -rw-r--r-- 1 root root 37234835 Jun 12 18:46 ranger-2.0.0-storm-plugin.tar.gz > -rw-r--r-- 1 root root 37268867 Jun 12 18:47 ranger-2.0.0-storm-plugin.zip > -rw-r--r-- 1 root root 39935738 Jun 12 18:47 ranger-2.0.0-kafka-plugin.tar.gz > -rw-r--r-- 1 root root 39984008 Jun 12 18:47 ranger-2.0.0-kafka-plugin.zip > -rw-r--r-- 1 root root 23958607 Jun 12 18:47 ranger-2.0.0-yarn-plugin.tar.gz > -rw-r--r-- 1 root root 23992472 Jun 12 18:48 ranger-2.0.0-yarn-plugin.zip > -rw-r--r-- 1 root root 26388332 Jun 12 18:48 ranger-2.0.0-ozone-plugin.tar.gz > -rw-r--r-- 1 root root 26421265 Jun 12 18:48 ranger-2.0.0-ozone-plugin.zip > -rw-r--r-- 1 root root 26977612 Jun 12 18:49 ranger-2.0.0-solr-plugin.tar.gz > -rw-r--r-- 1 root root 27010184 Jun 12 18:49 ranger-2.0.0-solr-plugin.zip > -rw-r--r-- 1 root root 248574063 Jun 12 18:54 ranger-2.0.0-admin.tar.gz > -rw-r--r-- 1 root root 249669120 Jun 12 19:00 ranger-2.0.0-admin.zip > -rw-r--r-- 1 root root 42210 Jun 12 19:00 > ranger-2.0.0-solr_audit_conf.tar.gz > -rw-r--r-- 1 root root 45636 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.zip > -rw-r--r-- 1 root root 16256274 Jun 12 19:00 ranger-2.0.0-usersync.tar.gz > -rw-r--r-- 1 root root 16280481 Jun 12 19:00 ranger-2.0.0-usersync.zip > -rw-r--r-- 1 root root 32771327 Jun 12 19:01 ranger-2.0.0-tagsync.tar.gz > -rw-r--r-- 1 root root 32781600 Jun 12 19:01 ranger-2.0.0-tagsync.zip > -rw-r--r-- 1 root root 34221 Jun 12 19:01 > ranger-2.0.0-migration-util.tar.gz > -rw-r--r-- 1 root root 37740 Jun 12 19:01 ranger-2.0.0-migration-util.zip > -rw-r--r-- 1 root root 90990177 Jun 12 19:02 ranger-2.0.0-kms.tar.gz > -rw-r--r-- 1 root root 91106503 Jun 12 19:04 ranger-2.0.0-kms.zip > -rw-r--r-- 1 root root 22231350 Jun 12 19:04 ranger-2.0.0-ranger-tools.tar.gz > -rw-r--r-- 1 root root 22248295 Jun 12 19:05 ranger-2.0.0-ranger-tools.zip > -rw-r--r-- 1 root
[jira] [Updated] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
[ https://issues.apache.org/jira/browse/RANGER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santosh updated RANGER-2859: Attachment: mavenbuildLog.out > Trying to install apache ranger2.0 from apache project but not able to obtain > the plugin for nifi and nifi-registry post build. > --- > > Key: RANGER-2859 > URL: https://issues.apache.org/jira/browse/RANGER-2859 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: 2.0.0 > Environment: Dev >Reporter: Santosh >Priority: Blocker > Attachments: mavenbuildLog.out > > > Tried downloading the source tar from below location for apache ranger 2.0 > and ran maven to build the install binaries. > > [*http://apache.mirrors.pair.com/ranger/2.0.0/apache-ranger-2.0.0.tar.gz*] > > I am unable to obtain the plugins post build for nifi and nifi registry for > some reason. I also tried git build directly pointing to source ranger 2.0 > snapshot but no luck. Please take a look and see if anyone has any insights > on this. Please reach out to me if you have any questions. > > After maven build is completed this is what it looks like in the target > folder. > > apache-ranger-2.0.0/target > [root@nifi04 target]# ls -lrt > total 1310660 > drwxr-xr-x 3 root root 21 Jun 12 18:29 maven-shared-archive-resources > drwxr-xr-x 2 root root 27 Jun 12 18:29 antrun > -rw-r--r-- 1 root root 5 Jun 12 18:41 version > drwxr-xr-x 2 root root 6 Jun 12 18:44 archive-tmp > -rw-r--r-- 1 root root 23971518 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.tar.gz > -rw-r--r-- 1 root root 23997609 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.zip > -rw-r--r-- 1 root root 23826208 Jun 12 18:45 ranger-2.0.0-hive-plugin.tar.gz > -rw-r--r-- 1 root root 23854842 Jun 12 18:45 ranger-2.0.0-hive-plugin.zip > -rw-r--r-- 1 root root 26647396 Jun 12 18:45 ranger-2.0.0-hbase-plugin.tar.gz > -rw-r--r-- 1 root root 2101 Jun 12 18:45 ranger-2.0.0-hbase-plugin.zip > -rw-r--r-- 1 root root 28391056 Jun 12 18:46 ranger-2.0.0-knox-plugin.tar.gz > -rw-r--r-- 1 root root 28411089 Jun 12 18:46 ranger-2.0.0-knox-plugin.zip > -rw-r--r-- 1 root root 37234835 Jun 12 18:46 ranger-2.0.0-storm-plugin.tar.gz > -rw-r--r-- 1 root root 37268867 Jun 12 18:47 ranger-2.0.0-storm-plugin.zip > -rw-r--r-- 1 root root 39935738 Jun 12 18:47 ranger-2.0.0-kafka-plugin.tar.gz > -rw-r--r-- 1 root root 39984008 Jun 12 18:47 ranger-2.0.0-kafka-plugin.zip > -rw-r--r-- 1 root root 23958607 Jun 12 18:47 ranger-2.0.0-yarn-plugin.tar.gz > -rw-r--r-- 1 root root 23992472 Jun 12 18:48 ranger-2.0.0-yarn-plugin.zip > -rw-r--r-- 1 root root 26388332 Jun 12 18:48 ranger-2.0.0-ozone-plugin.tar.gz > -rw-r--r-- 1 root root 26421265 Jun 12 18:48 ranger-2.0.0-ozone-plugin.zip > -rw-r--r-- 1 root root 26977612 Jun 12 18:49 ranger-2.0.0-solr-plugin.tar.gz > -rw-r--r-- 1 root root 27010184 Jun 12 18:49 ranger-2.0.0-solr-plugin.zip > -rw-r--r-- 1 root root 248574063 Jun 12 18:54 ranger-2.0.0-admin.tar.gz > -rw-r--r-- 1 root root 249669120 Jun 12 19:00 ranger-2.0.0-admin.zip > -rw-r--r-- 1 root root 42210 Jun 12 19:00 > ranger-2.0.0-solr_audit_conf.tar.gz > -rw-r--r-- 1 root root 45636 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.zip > -rw-r--r-- 1 root root 16256274 Jun 12 19:00 ranger-2.0.0-usersync.tar.gz > -rw-r--r-- 1 root root 16280481 Jun 12 19:00 ranger-2.0.0-usersync.zip > -rw-r--r-- 1 root root 32771327 Jun 12 19:01 ranger-2.0.0-tagsync.tar.gz > -rw-r--r-- 1 root root 32781600 Jun 12 19:01 ranger-2.0.0-tagsync.zip > -rw-r--r-- 1 root root 34221 Jun 12 19:01 > ranger-2.0.0-migration-util.tar.gz > -rw-r--r-- 1 root root 37740 Jun 12 19:01 ranger-2.0.0-migration-util.zip > -rw-r--r-- 1 root root 90990177 Jun 12 19:02 ranger-2.0.0-kms.tar.gz > -rw-r--r-- 1 root root 91106503 Jun 12 19:04 ranger-2.0.0-kms.zip > -rw-r--r-- 1 root root 22231350 Jun 12 19:04 ranger-2.0.0-ranger-tools.tar.gz > -rw-r--r-- 1 root root 22248295 Jun 12 19:05 ranger-2.0.0-ranger-tools.zip > -rw-r--r-- 1 root root 4039688 Jun 12 19:05 ranger-2.0.0-src.tar.gz > > > Unable to find the plugin for nifi or nifi-registry. > > the only two plugin that are missing in /target folder > > ranger-2.0.0-nifi-plugin.tar.gz > ranger-2.0.0-nifi-registry-plugin.tar.gz > > > Please let me know if something is missed in my maven build. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (RANGER-2859) Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build.
Santosh created RANGER-2859: --- Summary: Trying to install apache ranger2.0 from apache project but not able to obtain the plugin for nifi and nifi-registry post build. Key: RANGER-2859 URL: https://issues.apache.org/jira/browse/RANGER-2859 Project: Ranger Issue Type: Bug Components: plugins Affects Versions: 2.0.0 Environment: Dev Reporter: Santosh Tried downloading the source tar from below location for apache ranger 2.0 and ran maven to build the install binaries. [*http://apache.mirrors.pair.com/ranger/2.0.0/apache-ranger-2.0.0.tar.gz*] I am unable to obtain the plugins post build for nifi and nifi registry for some reason. I also tried git build directly pointing to source ranger 2.0 snapshot but no luck. Please take a look and see if anyone has any insights on this. Please reach out to me if you have any questions. After maven build is completed this is what it looks like in the target folder. apache-ranger-2.0.0/target [root@nifi04 target]# ls -lrt total 1310660 drwxr-xr-x 3 root root 21 Jun 12 18:29 maven-shared-archive-resources drwxr-xr-x 2 root root 27 Jun 12 18:29 antrun -rw-r--r-- 1 root root 5 Jun 12 18:41 version drwxr-xr-x 2 root root 6 Jun 12 18:44 archive-tmp -rw-r--r-- 1 root root 23971518 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.tar.gz -rw-r--r-- 1 root root 23997609 Jun 12 18:44 ranger-2.0.0-hdfs-plugin.zip -rw-r--r-- 1 root root 23826208 Jun 12 18:45 ranger-2.0.0-hive-plugin.tar.gz -rw-r--r-- 1 root root 23854842 Jun 12 18:45 ranger-2.0.0-hive-plugin.zip -rw-r--r-- 1 root root 26647396 Jun 12 18:45 ranger-2.0.0-hbase-plugin.tar.gz -rw-r--r-- 1 root root 2101 Jun 12 18:45 ranger-2.0.0-hbase-plugin.zip -rw-r--r-- 1 root root 28391056 Jun 12 18:46 ranger-2.0.0-knox-plugin.tar.gz -rw-r--r-- 1 root root 28411089 Jun 12 18:46 ranger-2.0.0-knox-plugin.zip -rw-r--r-- 1 root root 37234835 Jun 12 18:46 ranger-2.0.0-storm-plugin.tar.gz -rw-r--r-- 1 root root 37268867 Jun 12 18:47 ranger-2.0.0-storm-plugin.zip -rw-r--r-- 1 root root 39935738 Jun 12 18:47 ranger-2.0.0-kafka-plugin.tar.gz -rw-r--r-- 1 root root 39984008 Jun 12 18:47 ranger-2.0.0-kafka-plugin.zip -rw-r--r-- 1 root root 23958607 Jun 12 18:47 ranger-2.0.0-yarn-plugin.tar.gz -rw-r--r-- 1 root root 23992472 Jun 12 18:48 ranger-2.0.0-yarn-plugin.zip -rw-r--r-- 1 root root 26388332 Jun 12 18:48 ranger-2.0.0-ozone-plugin.tar.gz -rw-r--r-- 1 root root 26421265 Jun 12 18:48 ranger-2.0.0-ozone-plugin.zip -rw-r--r-- 1 root root 26977612 Jun 12 18:49 ranger-2.0.0-solr-plugin.tar.gz -rw-r--r-- 1 root root 27010184 Jun 12 18:49 ranger-2.0.0-solr-plugin.zip -rw-r--r-- 1 root root 248574063 Jun 12 18:54 ranger-2.0.0-admin.tar.gz -rw-r--r-- 1 root root 249669120 Jun 12 19:00 ranger-2.0.0-admin.zip -rw-r--r-- 1 root root 42210 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.tar.gz -rw-r--r-- 1 root root 45636 Jun 12 19:00 ranger-2.0.0-solr_audit_conf.zip -rw-r--r-- 1 root root 16256274 Jun 12 19:00 ranger-2.0.0-usersync.tar.gz -rw-r--r-- 1 root root 16280481 Jun 12 19:00 ranger-2.0.0-usersync.zip -rw-r--r-- 1 root root 32771327 Jun 12 19:01 ranger-2.0.0-tagsync.tar.gz -rw-r--r-- 1 root root 32781600 Jun 12 19:01 ranger-2.0.0-tagsync.zip -rw-r--r-- 1 root root 34221 Jun 12 19:01 ranger-2.0.0-migration-util.tar.gz -rw-r--r-- 1 root root 37740 Jun 12 19:01 ranger-2.0.0-migration-util.zip -rw-r--r-- 1 root root 90990177 Jun 12 19:02 ranger-2.0.0-kms.tar.gz -rw-r--r-- 1 root root 91106503 Jun 12 19:04 ranger-2.0.0-kms.zip -rw-r--r-- 1 root root 22231350 Jun 12 19:04 ranger-2.0.0-ranger-tools.tar.gz -rw-r--r-- 1 root root 22248295 Jun 12 19:05 ranger-2.0.0-ranger-tools.zip -rw-r--r-- 1 root root 4039688 Jun 12 19:05 ranger-2.0.0-src.tar.gz Unable to find the plugin for nifi or nifi-registry. the only two plugin that are missing in /target folder ranger-2.0.0-nifi-plugin.tar.gz ranger-2.0.0-nifi-registry-plugin.tar.gz Please let me know if something is missed in my maven build. -- This message was sent by Atlassian Jira (v8.3.4#803005)