Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17202

Fix findbugs warnings in hadoop-tools on branch-2.10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      M D UC_USELESS_OBJECT UC: Useless object stored in variable keysToUpdateAsFolder of method org.apache.hadoop.fs.azure.NativeAzureFileSystem.mkdirs(Path, FsPermission, boolean)  At NativeAzureFileSystem.java:[line 3013]
      M D DLS_DEAD_LOCAL_STORE DLS: Dead store to op in org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.access(Path, FsAction)  At AzureBlobFileSystemStore.java:[line 901]
      M B CO_COMPARETO_INCORRECT_FLOATING Co: org.apache.hadoop.mapred.gridmix.InputStriper$1.compare(Map$Entry, Map$Entry) incorrectly handles double value  At InputStriper.java:[line 136]
      M V MS_MUTABLE_COLLECTION_PKGPROTECT MS: org.apache.hadoop.mapred.gridmix.emulators.resourceusage.TotalHeapUsageEmulatorPlugin$DefaultHeapUsageEmulator.heapSpace is a mutable collection which should be package protected  At TotalHeapUsageEmulatorPlugin.java:[line 132]
      M D RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT RV: Return value of org.codehaus.jackson.map.ObjectMapper.getJsonFactory() ignored, but method has no side effect  At JsonObjectMapperWriter.java:[line 59]
      H D RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT RV: Return value of new org.apache.hadoop.tools.rumen.datatypes.DefaultDataType(String) ignored, but method has no side effect  At MapReduceJobPropertiesParser.java:[line 212]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iwasakims Masatake Iwasaki
                Reporter:
                iwasakims Masatake Iwasaki
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: