Hadoop Common
  1. Hadoop Common
  2. HADOOP-4779 Remove deprecated FileSystem methods
  3. HADOOP-4941

Remove getBlockSize(Path f), getLength(Path f) and getReplication(Path src)

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Removed deprecated FileSystem methods getBlockSize(Path f), getLength(Path f), and getReplication(Path src).

      Description

      Remove the following

      • public long getBlockSize(Path f) throws IOException
      • public long getLength(Path f) throws IOException
      • public short getReplication(Path src) throws IOException
      1. 4941_20081224.patch
        13 kB
        Tsz Wo Nicholas Sze

        Activity

        Tsz Wo Nicholas Sze created issue -
        Tsz Wo Nicholas Sze made changes -
        Field Original Value New Value
        Attachment 4941_20081224.patch [ 12396748 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags [Incompatible change] [Incompatible change, Reviewed]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hadoop Flags [Reviewed, Incompatible change] [Incompatible change, Reviewed]
        Tsz Wo Nicholas Sze made changes -
        Fix Version/s 0.21.0 [ 12313563 ]
        Hadoop Flags [Reviewed, Incompatible change] [Incompatible change, Reviewed]
        Robert Chansler made changes -
        Release Note Remove the following deprecated FileSystem methods:
        - public long getBlockSize(Path f) throws IOException
        - public long getLength(Path f) throws IOException
        - public short getReplication(Path src) throws IOException
        Removed deprecated FileSystem methods getBlockSize(Path f), getLength(Path f), and getReplication(Path src).
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development