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

ASF GitHub Bot logged work on HDFS-16092:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jun/21 13:40
            Start Date: 29/Jun/21 13:40
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on pull request #3150:
URL: https://github.com/apache/hadoop/pull/3150#issuecomment-869691737






-- 
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.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

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


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

    Worklog Id:     (was: 616291)
    Time Spent: 1h 20m  (was: 1h 10m)

> Avoid creating LayoutFlags redundant objects
> --------------------------------------------
>
>                 Key: HDFS-16092
>                 URL: https://issues.apache.org/jira/browse/HDFS-16092
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.2.3, 3.3.2
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We use LayoutFlags to represent features that EditLog/FSImage can support. 
> The utility helps write int (0) to given OutputStream and if EditLog/FSImage 
> supports Layout flags, they read the value from InputStream to confirm 
> whether there are unsupported feature flags (non zero int). However, we also 
> create and return new object of LayoutFlags, which is not used anywhere 
> because it's just a utility to read/write to/from given stream. We should 
> remove such redundant objects from getting created while reading from 
> InputStream using LayoutFlags#read utility.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to