[ https://issues.apache.org/jira/browse/HDFS-16075?focusedWorklogId=612305&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-612305 ]
ASF GitHub Bot logged work on HDFS-16075: ----------------------------------------- Author: ASF GitHub Bot Created on: 19/Jun/21 14:59 Start Date: 19/Jun/21 14:59 Worklog Time Spent: 10m Work Description: virajjasani commented on pull request #3115: URL: https://github.com/apache/hadoop/pull/3115#issuecomment-864417269 @tasanuma @ferhui Here is the PR #3123 as per your suggestion. Thanks -- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 612305) Time Spent: 1h 10m (was: 1h) > 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: 1h 10m > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org