[
https://issues.apache.org/jira/browse/HDFS-16075?focusedWorklogId=611979&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-611979
]
ASF GitHub Bot logged work on HDFS-16075:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jun/21 21:05
Start Date: 18/Jun/21 21:05
Worklog Time Spent: 10m
Work Description: virajjasani commented on pull request #3115:
URL: https://github.com/apache/hadoop/pull/3115#issuecomment-863768777
--
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 611979)
Time Spent: 40m (was: 0.5h)
> Use empty array constants present in StorageType and DatanodeInfo to avoid
> creating redundant objects
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-16075
> URL: https://issues.apache.org/jira/browse/HDFS-16075
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> StorageType and DatanodeInfo already provides empty array constants. We
> should use them where possible in order to avoid creating unnecessary new
> empty array objects.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]