Hadoop Common
  1. Hadoop Common
  2. HADOOP-7736

Remove duplicate call of Path#normalizePath during initialization.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      path

      Description

      Found during code reading on HADOOP-6490, there seems to be an unnecessary call of normalizePath(...) being made in the constructor Path(Path, Path). Since initialize(...) normalizes its received path string already, its unnecessary to do it to the path parameter in the constructor's call of the same.

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Arun C Murthy made changes -
        Fix Version/s 0.23.1 [ 12318884 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Affects Version/s 0.23.0 [ 12315569 ]
        Affects Version/s 0.24.0 [ 12317652 ]
        Harsh J made changes -
        Target Version/s 0.23.1 [ 12318884 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Harsh J made changes -
        Field Original Value New Value
        Attachment HADOOP-7736.patch [ 12498704 ]
        Harsh J created issue -

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development