Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-16093

Move DurationInfo from hadoop-aws to hadoop-common org.apache.hadoop.util

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0
    • fs/s3, util
    • None

    Description

      It'd be useful to have DurationInfo usable in other places (e.g. distcp, abfs, ...). But as it is in hadoop-aws under {{org.apache.hadoop.fs.s3a.commit.DurationInfo
      org.apache.hadoop.fs.s3a.commit.DurationInfo}} we can't do that

      Move it.

      We'll have to rename the Duration class in the process, as java 8 time has a class of that name too. Maybe "OperationDuration", with DurationInfo a subclass of that

      Probably need a test too, won't it?

      Attachments

        1. HADOOP-16093.001.patch
          18 kB
          Abhishek Modi
        2. HADOOP-16093.002.patch
          19 kB
          Abhishek Modi
        3. HADOOP-16093.003.patch
          36 kB
          Abhishek Modi
        4. HADOOP-16093.004.patch
          35 kB
          Abhishek Modi
        5. HADOOP-16093.005.patch
          21 kB
          Abhishek Modi
        6. HADOOP-16093.006.patch
          21 kB
          Abhishek Modi

        Issue Links

          Activity

            People

              abmodi Abhishek Modi
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: