Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4 Implement security for Hadoop Distributed Storage Layer
  3. HDDS-1107

Fix findbugs issues in DefaultCertificateClient#handleCase

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • HDDS BadLands

    Description

          FindBugs :
       
             module:hadoop-hdds/common
             Incompatible bit masks in (e & 0x2 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.handleCase(DefaultCertificateClient$InitCase) At DefaultCertificateClient.java:& 0x2 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.handleCase(DefaultCertificateClient$InitCase) At DefaultCertificateClient.java:[line 529]
             Incompatible bit masks in (e & 0x4 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.handleCase(DefaultCertificateClient$InitCase) At DefaultCertificateClient.java:& 0x4 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.handleCase(DefaultCertificateClient$InitCase) At DefaultCertificateClient.java:[line 529]
             Found reliance on default encoding in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.validateKeyPair(PublicKey):in org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient.validateKeyPair(PublicKey): String.getBytes() At DefaultCertificateClient.java:[line 587]
             Incompatible bit masks in (e & 0x2 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.OMCertificateClient.handleCase(DefaultCertificateClient$InitCase) At OMCertificateClient.java:& 0x2 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.OMCertificateClient.handleCase(DefaultCertificateClient$InitCase) At OMCertificateClient.java:[line 95]
             Incompatible bit masks in (e & 0x4 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.OMCertificateClient.handleCase(DefaultCertificateClient$InitCase) At OMCertificateClient.java:& 0x4 == 0x1) yields a constant result in org.apache.hadoop.hdds.security.x509.certificate.client.OMCertificateClient.handleCase(DefaultCertificateClient$InitCase) At OMCertificateClient.java:[line 95]
      

      Attachments

        Issue Links

          Activity

            People

              ajayydv Ajay Kumar
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: