Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17098 Reduce Guava dependency in Hadoop source code
  3. HADOOP-17960

hadoop-auth module cannot import non-guava implementation in hatoop util

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      hadoop-common provides several util implementations in org.apache.hadoop.util.*. Since hadoop-common depends on hadoop-auth, all the utility implementations cannot be used within hadoop-auth.

      There are several options:

      • similar to hadoop-annotations generic and utility implementations such as maps, Strings, Preconditions, ..etc could be moved to a new common-util module that has no dependency on other modules.
      • easier fix is to manually replace the guava calls in hadoop-auth module without importing hadoop.util.*. Only few calls need to be manually replaced: Splitter, Preconditions.checkNotNull, and Preconditions.checkArgument

      CC: vjasani , stevel@apache.org, tasanuma

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: