You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Kishor Gollapalliwar <ki...@gmail.com> on 2020/10/27 08:03:16 UTC

Re: Review Request 72990: RANGER-3060: Maven build failing due to PMD violations

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

(Updated Oct. 27, 2020, 8:03 a.m.)


Review request for ranger, Jayendra Parab, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

Ranger maven build (mvn clean compile package install) is failing, due to PMD violation.

<?xml version="1.0" encoding="UTF-8"?>
<pmd version="5.5.1" timestamp="2020-10-27T07:32:52.543">
<file name="/root/ranger/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessor.java">
<violation beginline="52" endline="52" begincolumn="1" endcolumn="66" rule="UnusedImports" ruleset="Import Statements" package="org.apache.ranger.authorization.hbase" externalInfoUrl="https://pmd.github.io/pmd-5.5.1/pmd-java/rules/java/imports.html#UnusedImports" priority="4">
Avoid unused imports such as 'org.apache.hadoop.hbase.security.access.Permission.Builder'
</violation>
</file>
</pmd>


Diffs
-----

  hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessor.java b9dd52e44 


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


Testing
-------

build ranger using command "mvn clean compile package install"


Thanks,

Kishor Gollapalliwar


Re: Review Request 72990: RANGER-3060: Maven build failing due to PMD violations

Posted by Mehul Parikh <xs...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72990/#review222130
-----------------------------------------------------------


Ship it!




Ship It!

- Mehul Parikh


On Oct. 27, 2020, 8:03 a.m., Kishor Gollapalliwar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72990/
> -----------------------------------------------------------
> 
> (Updated Oct. 27, 2020, 8:03 a.m.)
> 
> 
> Review request for ranger, Jayendra Parab, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3060
>     https://issues.apache.org/jira/browse/RANGER-3060
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger maven build (mvn clean compile package install) is failing, due to PMD violation.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <pmd version="5.5.1" timestamp="2020-10-27T07:32:52.543">
> <file name="/root/ranger/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessor.java">
> <violation beginline="52" endline="52" begincolumn="1" endcolumn="66" rule="UnusedImports" ruleset="Import Statements" package="org.apache.ranger.authorization.hbase" externalInfoUrl="https://pmd.github.io/pmd-5.5.1/pmd-java/rules/java/imports.html#UnusedImports" priority="4">
> Avoid unused imports such as 'org.apache.hadoop.hbase.security.access.Permission.Builder'
> </violation>
> </file>
> </pmd>
> 
> 
> Diffs
> -----
> 
>   hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessor.java b9dd52e44 
> 
> 
> Diff: https://reviews.apache.org/r/72990/diff/1/
> 
> 
> Testing
> -------
> 
> build ranger using command "mvn clean compile package install"
> 
> 
> Thanks,
> 
> Kishor Gollapalliwar
> 
>