Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3060

Maven build failing due to PMD violations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Ranger
    • None

    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>

       

      Attachments

        Activity

          People

            kishor.gollapalliwar Kishor Gollapalliwar
            kishor.gollapalliwar Kishor Gollapalliwar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: