Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16075

Use empty array constants present in StorageType and DatanodeInfo to avoid creating redundant objects

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      StorageType and DatanodeInfo already provides empty array constants. We should use them where possible in order to avoid creating unnecessary new empty array objects.

      Attachments

        Activity

          People

            vjasani Viraj Jasani
            vjasani Viraj Jasani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h