You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2020/08/11 05:30:00 UTC

[jira] [Commented] (HADOOP-17202) Fix findbugs warnings in hadoop-tools on branch-2.10

    [ https://issues.apache.org/jira/browse/HADOOP-17202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175254#comment-17175254 ] 

Masatake Iwasaki commented on HADOOP-17202:
-------------------------------------------

Cherry-picking HADOOP-14400 fixed 4 warnings. 2 left.
{noformat}
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 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]
{noformat}


> Fix findbugs warnings in hadoop-tools on branch-2.10
> ----------------------------------------------------
>
>                 Key: HADOOP-17202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17202
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>
> {noformat}
> 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]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org