Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2241

Remove implementing FSConstants interface just to access the constants defined in the interface

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently many classes implement FSConstants.java interface just for the convenience of accessing the constants defined in it. This could be done by using static imports or in some cases using FSConstants.<CONSTANT_NAME>, with no need for implementing the interface.

      1. HDFS-2241.2.patch
        50 kB
        Suresh Srinivas
      2. HDFS-2241.1.patch
        50 kB
        Suresh Srinivas
      3. HDFS-2241.patch
        40 kB
        Suresh Srinivas

        Issue Links

          Activity

          Suresh Srinivas created issue -
          Suresh Srinivas made changes -
          Field Original Value New Value
          Attachment HDFS-2241.patch [ 12489885 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.1.patch [ 12489941 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.1.patch [ 12489941 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.1.patch [ 12489943 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.1.patch [ 12489943 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.1.patch [ 12489945 ]
          Suresh Srinivas made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Suresh Srinivas made changes -
          Attachment HDFS-2241.2.patch [ 12490033 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue breaks MAPREDUCE-2805 [ MAPREDUCE-2805 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Suresh Srinivas
              Reporter:
              Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development