[
https://issues.apache.org/jira/browse/HDFS-16075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takanobu Asanuma updated HDFS-16075:
------------------------------------
Fix Version/s: 3.3.2
3.4.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 3.4.0, 3.3.2
>
> Time Spent: 1.5h
> 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]