XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      Removing usage of Guava's deprecated or missing methods in recent version(17.0) without updating pom file. This JIRA targets branch-2. On this JIRA, org.apache.hadoop.util.LimitInputStream will be used instead of com.google.common.io.LimitInputStream which is removed in Guava 15.0.

      In the latest release of Guava(18.0), following changes are done:

      • Objects#ToStringHelper was removed and we need to use MoreObjects#ToStringHelper. However, MoreObjects#ToStringHelper has been introduced since 18.0.
      • Enums.valueOfFunction was removed and need to be replaced with Enums.stringConverter. However, MoreObjects#ToStringHelper has been introduced since 16.0.
      • MoreExecutors.sameThreadExecutor() was removed at 18.0 and need to be replaced with MoreExecutors.newDirectExecutorService. However, MoreExecutors.newDirectExecutorService has been introduced since 18.0.

      We'll do these changes on HADOOP-10101.

      Attachments

        1. HADOOP-11600-003.patch
          3 kB
          Tsuyoshi Ozawa
        2. HADOOP-11600-002.patch
          2 kB
          Tsuyoshi Ozawa
        3. HADOOP-11600-001.patch
          2 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              ozawa Tsuyoshi Ozawa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: