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

2020-08-17 Thread Masatake Iwasaki (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated HADOOP-17202:
--
Fix Version/s: 2.10.1
 Hadoop Flags: Reviewed
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> 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
> Fix For: 2.10.1
>
>
> {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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



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

2020-08-10 Thread Masatake Iwasaki (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated HADOOP-17202:
--
Status: Patch Available  (was: Open)

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



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

2020-08-10 Thread Masatake Iwasaki (Jira)


 [ 
https://issues.apache.org/jira/browse/HADOOP-17202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated HADOOP-17202:
--
Description: 
{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}


> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org