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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ozone
    • Labels:
      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

        1. HDFS-13391-HDFS-7240.000.patch
          21 kB
          Nanda kumar

          Activity

            People

            • Assignee:
              nanda Nanda kumar
              Reporter:
              nanda Nanda kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: