[jira] [Updated] (RANGER-1624) Add unit tests for Kafka to TestPolicyEngine

2017-05-29 Thread Rick Kellogg (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Kellogg updated RANGER-1624:
-
Request participants:   (was: )
  Issue Type: Test  (was: Bug)

> Add unit tests for Kafka to TestPolicyEngine
> 
>
> Key: RANGER-1624
> URL: https://issues.apache.org/jira/browse/RANGER-1624
> Project: Ranger
>  Issue Type: Test
>  Components: plugins
>Reporter: Rick Kellogg
>Priority: Minor
>
> At present the TestPolicyEngine class includes specific policy evaluation 
> examples for HBase, HDFS and Hive.  Unit tests for complex scenarios in Kafka 
> should be supplied as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (RANGER-1624) Add unit tests for Kafka to TestPolicyEngine

2017-05-29 Thread Rick Kellogg (JIRA)
Rick Kellogg created RANGER-1624:


 Summary: Add unit tests for Kafka to TestPolicyEngine
 Key: RANGER-1624
 URL: https://issues.apache.org/jira/browse/RANGER-1624
 Project: Ranger
  Issue Type: Bug
  Components: plugins
Reporter: Rick Kellogg
Priority: Minor


At present the TestPolicyEngine class includes specific policy evaluation 
examples for HBase, HDFS and Hive.  Unit tests for complex scenarios in Kafka 
should be supplied as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (RANGER-1619) Ranger Hive Plugin fails to check the URI when the location doesn't exist

2017-05-29 Thread Ramesh Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani resolved RANGER-1619.
-
Resolution: Fixed

> Ranger Hive Plugin fails to check the URI when the location doesn't exist
> -
>
> Key: RANGER-1619
> URL: https://issues.apache.org/jira/browse/RANGER-1619
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master, 0.7.1
>Reporter: Ramesh Mani
>Assignee: Madhan Neethiraj
> Fix For: master, 0.7.1
>
> Attachments: 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch, 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR.patch
>
>
> Ranger Hive Plugin fails to check the URI when the location doesn't exist



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (RANGER-1619) Ranger Hive Plugin fails to check the URI when the location doesn't exist

2017-05-29 Thread Ramesh Mani (JIRA)

[ 
https://issues.apache.org/jira/browse/RANGER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16028574#comment-16028574
 ] 

Ramesh Mani commented on RANGER-1619:
-

Master :
 http://git-wip-us.apache.org/repos/asf/ranger/commit/e10bad4d
0.7.1:
http://git-wip-us.apache.org/repos/asf/ranger/commit/f604e53d

> Ranger Hive Plugin fails to check the URI when the location doesn't exist
> -
>
> Key: RANGER-1619
> URL: https://issues.apache.org/jira/browse/RANGER-1619
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master, 0.7.1
>Reporter: Ramesh Mani
>Assignee: Madhan Neethiraj
> Fix For: master, 0.7.1
>
> Attachments: 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch, 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR.patch
>
>
> Ranger Hive Plugin fails to check the URI when the location doesn't exist



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (RANGER-1619) Ranger Hive Plugin fails to check the URI when the location doesn't exist

2017-05-29 Thread Ramesh Mani (JIRA)

[ 
https://issues.apache.org/jira/browse/RANGER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16028570#comment-16028570
 ] 

Ramesh Mani edited comment on RANGER-1619 at 5/29/17 7:00 PM:
--

reopening this. IMPORT/EXPORT/LOAD should not need "exec" permission in HIVE 
auth level. URI check via FileUtils, call is adding EXEC based of whether it is 
directory or file.


was (Author: rmani):
reopening this. IMPORT/EXPORT/LOAD should not need "exec" permission in HIVE 
auth level. URI check via FileUtils. call is adding EXEC based of whether it is 
directory or file.

> Ranger Hive Plugin fails to check the URI when the location doesn't exist
> -
>
> Key: RANGER-1619
> URL: https://issues.apache.org/jira/browse/RANGER-1619
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master, 0.7.1
>Reporter: Ramesh Mani
>Assignee: Madhan Neethiraj
> Fix For: master, 0.7.1
>
> Attachments: 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch, 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR.patch
>
>
> Ranger Hive Plugin fails to check the URI when the location doesn't exist



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Reopened] (RANGER-1619) Ranger Hive Plugin fails to check the URI when the location doesn't exist

2017-05-29 Thread Ramesh Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani reopened RANGER-1619:
-

reopening this. IMPORT/EXPORT/LOAD should not need "exec" permission in HIVE 
auth level. URI check via FileUtils. call is adding EXEC based of whether it is 
directory or file.

> Ranger Hive Plugin fails to check the URI when the location doesn't exist
> -
>
> Key: RANGER-1619
> URL: https://issues.apache.org/jira/browse/RANGER-1619
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master, 0.7.1
>Reporter: Ramesh Mani
>Assignee: Madhan Neethiraj
> Fix For: master, 0.7.1
>
> Attachments: 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch, 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR.patch
>
>
> Ranger Hive Plugin fails to check the URI when the location doesn't exist



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (RANGER-1619) Ranger Hive Plugin fails to check the URI when the location doesn't exist

2017-05-29 Thread Ramesh Mani (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani updated RANGER-1619:

Attachment: 
0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch

> Ranger Hive Plugin fails to check the URI when the location doesn't exist
> -
>
> Key: RANGER-1619
> URL: https://issues.apache.org/jira/browse/RANGER-1619
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master, 0.7.1
>Reporter: Ramesh Mani
>Assignee: Madhan Neethiraj
> Fix For: master, 0.7.1
>
> Attachments: 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR-01.patch, 
> 0001-RANGER-1619-Ranger-Hive-Plugin-fails-to-check-the-UR.patch
>
>
> Ranger Hive Plugin fails to check the URI when the location doesn't exist



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Fwd: Good examples of licensing in ASF produced web apps?

2017-05-29 Thread Selvamohan Neethiraj
@Ranger,

Please see the email below which indicates that Ranger WAR file have 
dependencies that should not be bundled and/or specified in the LICENSE/NOTICE 
files. Can we review our binary release files to ensure that we are in 
compliance with Apache Releases?

@Roman:
We will try to go through the list and ensure that our LICENSE and NOTICE files 
are updated with bundled binaries ? (RANGER-1623 
)
In the meanwhile, if you can add the details on the files that are not in 
compliance in the above JIRA, it will greatly help the ranger community to fix 
it asap.


Thanks,
Selva-

> Begin forwarded message:
> 
> From: Roman Shaposhnik 
> Subject: Good examples of licensing in ASF produced web apps?
> Date: May 26, 2017 at 5:49:46 PM EDT
> To: "gene...@incubator.apache.org" 
> Reply-To: gene...@incubator.apache.org
> 
> Hi!
> 
> I advising a podling on producing a binary release that
> includes a Java web app (think war file). I wanted to give
> them a taste of what TLPs do so I went to the ones that
> I knew were generating war files: Oozie and Ranger.
> You know the stuff I'm familiar with in Hadoop ecosystem.
> 
> What he discovered may shock you! No, but seriously.
> 
> Here's what these projects publish on Maven central:
> 
> https://search.maven.org/remotecontent?filepath=org/apache/oozie/oozie-webapp/4.3.0/oozie-webapp-4.3.0.war
> https://search.maven.org/remotecontent?filepath=org/apache/ranger/security-admin-web/0.7.0/security-admin-web-0.7.0.war
> 
> Each of these WAR files:
>   1. bundles all sorts of dependancies -- not just the bits coming
>from the project itself
> 
>2. Neither provides a meanigful LICENSE nor NOTICE files.
>The ones under ./WEB-INF/classes/META-INF are stock ones
>and really don't address the binary dependencies bundling
> 
> Have we somehow relaxed the requirements for binary artifacts?
> I hope not -- and if not -- what are the good examples of web app
> projects doing it right?
> 
> Thanks,
> Roman.
> 
> -
> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> For additional commands, e-mail: general-h...@incubator.apache.org
> 
> 



[jira] [Created] (RANGER-1623) Validate Apache Licenses for all dependencies in the Binary Release

2017-05-29 Thread Selvamohan Neethiraj (JIRA)
Selvamohan Neethiraj created RANGER-1623:


 Summary: Validate Apache Licenses for all dependencies in the 
Binary Release
 Key: RANGER-1623
 URL: https://issues.apache.org/jira/browse/RANGER-1623
 Project: Ranger
  Issue Type: Task
  Components: Ranger
Reporter: Roman Shaposhnik
Priority: Blocker


Please see the email from the thread:

https://lists.apache.org/thread.html/135e1b0025737e2df88858879a8ee41453f765f3def05988b779d213@%3Cgeneral.incubator.apache.org%3E

Please review all binaries bundled in the binary ranger release to ensure that 
we have LICENSE and NOTICE files are updated correctly.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Review Request 59631: RANGER-1622 - Error installing Knox plugin using KNOX_HOME

2017-05-29 Thread Colm O hEigeartaigh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59631/
---

Review request for ranger.


Bugs: RANGER-1622
https://issues.apache.org/jira/browse/RANGER-1622


Repository: ranger


Description
---

If you specify a value for KNOX_HOME in the install.properties for the Knox 
plugin, you will see an error, as the "enable-agent.sh" hasn't been updated to 
check for a value for this variable.


Diffs
-

  agents-common/scripts/enable-agent.sh 76ba8f0d 


Diff: https://reviews.apache.org/r/59631/diff/1/


Testing
---

Tested the jars installed correctly into Knox after the fix.


Thanks,

Colm O hEigeartaigh



[jira] [Updated] (RANGER-1622) Error installing Knox plugin using KNOX_HOME

2017-05-29 Thread Colm O hEigeartaigh (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh updated RANGER-1622:

Attachment: 0001-RANGER-1622-Error-installing-Knox-plugin-using-KNOX_.patch

> Error installing Knox plugin using KNOX_HOME
> 
>
> Key: RANGER-1622
> URL: https://issues.apache.org/jira/browse/RANGER-1622
> Project: Ranger
>  Issue Type: Bug
>  Components: plugins
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
> Fix For: 1.0.0, 0.7.1
>
> Attachments: 
> 0001-RANGER-1622-Error-installing-Knox-plugin-using-KNOX_.patch
>
>
> If you specify a value for KNOX_HOME in the install.properties for the Knox 
> plugin, you will see an error, as the "enable-agent.sh" hasn't been updated 
> to check for a value for this variable. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (RANGER-1622) Error installing Knox plugin using KNOX_HOME

2017-05-29 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created RANGER-1622:
---

 Summary: Error installing Knox plugin using KNOX_HOME
 Key: RANGER-1622
 URL: https://issues.apache.org/jira/browse/RANGER-1622
 Project: Ranger
  Issue Type: Bug
  Components: plugins
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
 Fix For: 1.0.0, 0.7.1


If you specify a value for KNOX_HOME in the install.properties for the Knox 
plugin, you will see an error, as the "enable-agent.sh" hasn't been updated to 
check for a value for this variable. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Review Request 59630: RANGER-1621 - Fix knox pom to pick up base knox version

2017-05-29 Thread Colm O hEigeartaigh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59630/
---

Review request for ranger.


Bugs: RANGER-1621
https://issues.apache.org/jira/browse/RANGER-1621


Repository: ranger


Description
---

The knox pom has a hard-coded version of Knox instead of using the version 
defined in the parent pom.


Diffs
-

  knox-agent/pom.xml 63b06f66 


Diff: https://reviews.apache.org/r/59630/diff/1/


Testing
---


Thanks,

Colm O hEigeartaigh



[jira] [Updated] (RANGER-1621) Fix knox pom to pick up base knox version

2017-05-29 Thread Colm O hEigeartaigh (JIRA)

 [ 
https://issues.apache.org/jira/browse/RANGER-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh updated RANGER-1621:

Attachment: 0001-RANGER-1621-Fix-knox-pom-to-pick-up-base-knox-versio.patch

> Fix knox pom to pick up base knox version
> -
>
> Key: RANGER-1621
> URL: https://issues.apache.org/jira/browse/RANGER-1621
> Project: Ranger
>  Issue Type: Bug
>  Components: plugins
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
>Priority: Trivial
> Fix For: 1.0.0
>
> Attachments: 
> 0001-RANGER-1621-Fix-knox-pom-to-pick-up-base-knox-versio.patch
>
>
> The knox pom has a hard-coded version of Knox instead of using the version 
> defined in the parent pom.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (RANGER-1621) Fix knox pom to pick up base knox version

2017-05-29 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created RANGER-1621:
---

 Summary: Fix knox pom to pick up base knox version
 Key: RANGER-1621
 URL: https://issues.apache.org/jira/browse/RANGER-1621
 Project: Ranger
  Issue Type: Bug
  Components: plugins
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
Priority: Trivial
 Fix For: 1.0.0


The knox pom has a hard-coded version of Knox instead of using the version 
defined in the parent pom.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)