Hadoop Common
  1. Hadoop Common
  2. HADOOP-6854

Cannot Configure 'progress' with CreateOpts API

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      Noticed that CreateOpts class specifies a Progress class, but does not allow you to specify a Progressable object. Need to add static function to set this API element. Trying to get FileContext on parity with old FileSystem API.

      1. progress.patch
        0.5 kB
        Nicolas Spiegelberg

        Activity

        Nicolas Spiegelberg created issue -
        Hide
        Nicolas Spiegelberg added a comment -

        3-line fix should apply cleanly on 0.21 + 0.22.

        Show
        Nicolas Spiegelberg added a comment - 3-line fix should apply cleanly on 0.21 + 0.22.
        Nicolas Spiegelberg made changes -
        Field Original Value New Value
        Attachment progress.patch [ 12448941 ]
        Hide
        Chris Douglas added a comment -

        A similar case for rename came up in MAPREDUCE-972. Would it be worth considering adding Progresable support for other FileContext operations?

        Show
        Chris Douglas added a comment - A similar case for rename came up in MAPREDUCE-972 . Would it be worth considering adding Progresable support for other FileContext operations?
        Tom White made changes -
        Fix Version/s 0.21.1 [ 12315270 ]
        Fix Version/s 0.21.0 [ 12313563 ]
        Nigel Daley made changes -
        Fix Version/s 0.22.0 [ 12314296 ]
        Fix Version/s 0.21.1 [ 12315270 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Nicolas Spiegelberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development