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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/19 06:09:00 UTC

[jira] [Work logged] (HADOOP-16637) Fix findbugs warnings in hadoop-cos

     [ https://issues.apache.org/jira/browse/HADOOP-16637?focusedWorklogId=502017&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-502017 ]

ASF GitHub Bot logged work on HADOOP-16637:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Oct/20 06:08
            Start Date: 19/Oct/20 06:08
    Worklog Time Spent: 10m 
      Work Description: cxorm closed pull request #1640:
URL: https://github.com/apache/hadoop/pull/1640


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 502017)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix findbugs warnings in hadoop-cos
> -----------------------------------
>
>                 Key: HADOOP-16637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16637
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/cos
>            Reporter: Akira Ajisaka
>            Assignee: YiSheng Lien
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> qbt report: https://lists.apache.org/thread.html/ab1ea4ac6590061cfb2f89183f33f97e92da0e68e67657dbfbda862f@%3Ccommon-dev.hadoop.apache.org%3E
> {noformat}
>        module:hadoop-cloud-storage-project/hadoop-cos
>        Redundant nullcheck of dir, which is known to be non-null in org.apache.hadoop.fs.cosn.BufferPool.createDir(String) Redundant null check at BufferPool.java:is known to be non-null in org.apache.hadoop.fs.cosn.BufferPool.createDir(String) Redundant null check at BufferPool.java:[line 66]
>        org.apache.hadoop.fs.cosn.CosNInputStream$ReadBuffer.getBuffer() may expose internal representation by returning CosNInputStream$ReadBuffer.buffer At CosNInputStream.java:by returning CosNInputStream$ReadBuffer.buffer At CosNInputStream.java:[line 87]
>        Found reliance on default encoding in org.apache.hadoop.fs.cosn.CosNativeFileSystemStore.storeFile(String, File, byte[]):in org.apache.hadoop.fs.cosn.CosNativeFileSystemStore.storeFile(String, File, byte[]): new String(byte[]) At CosNativeFileSystemStore.java:[line 199]
>        Found reliance on default encoding in org.apache.hadoop.fs.cosn.CosNativeFileSystemStore.storeFileWithRetry(String, InputStream, byte[], long):in org.apache.hadoop.fs.cosn.CosNativeFileSystemStore.storeFileWithRetry(String, InputStream, byte[], long): new String(byte[]) At CosNativeFileSystemStore.java:[line 178]
>        org.apache.hadoop.fs.cosn.CosNativeFileSystemStore.uploadPart(File, String, String, int) may fail to clean up java.io.InputStream Obligation to clean up resource created at CosNativeFileSystemStore.java:fail to clean up java.io.InputStream Obligation to clean up resource created at CosNativeFileSystemStore.java:[line 252] is not discharged
> {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