Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-13391

Ozone: Make dependency of internal sub-module scope as provided in maven.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ozone
    • None

    Description

      Whenever an internal sub-module is added as a dependency the scope has to be set to provided.
      If the scope is not mentioned it falls back to default scope which is compile, this makes the dependency jar (sub-module jar) to be copied to share/..../lib directory while packaging. Since we use copyifnotexists logic, the binary jar of the actual sub-module will not be copied. This will result in the jar being placed in the wrong location inside the distribution.

      Attachments

        Activity

          People

            nanda Nandakumar
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: