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

Create a StorageID class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • datanode
    • None

    Description

      We currently pass DataNode storage IDs around as strings, the code would be more readable (eg map keys could be specified as StorageIDs rather than strings) and less error prone if we used a simple class.

      Attachments

        Issue Links

          Activity

            People

              eli Eli Collins
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: