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

        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.
        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?

          People

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

            Dates

            • Created:
              Updated:

              Development