Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10100

MiniKDC shouldn't use apacheds-all artifact

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The MiniKDC currently depends on the apacheds-all artifact:

          <dependency>
            <groupId>org.apache.directory.server</groupId>
            <artifactId>apacheds-all</artifactId>
            <version>2.0.0-M15</version>
            <scope>compile</scope>
          </dependency>
      

      However, this artifact includes, inside of itself, a lot of other packages, including antlr, ehcache, apache commons, and mina (you can see a full list of the packages in the jar here). This can be problematic if other projects (e.g. Oozie) try to use MiniKDC and have a different version of one of those dependencies (in my case, ehcache). Because the packages are included inside the apacheds-all jar, we can't override their version.

      Instead, we should remove apacheds-all and use dependencies that only include org.apache.directory.* packages; the other necessary dependencies should be included normally.

        Attachments

        1. HADOOP-10100.patch
          5 kB
          Robert Kanter
        2. HADOOP-10100.patch
          5 kB
          Robert Kanter

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: