Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13517

Publish a client artifact with shaded dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 2.0.0
    • 1.1.0, 2.0.0
    • None
    • None
    • Reviewed
    • Hide
      HBase now provides added convenience artifacts that shade most dependencies. These jars hbase-shaded-client and hbase-shaded-server are meant to be used when dependency conflicts can not be solved any other way. The normal jars hbase-client and hbase-server should still be preferred when possible.

      Do not use hbase-shaded-server or hbase-shaded-client inside of a co-processor as bad things will happen.
      Show
      HBase now provides added convenience artifacts that shade most dependencies. These jars hbase-shaded-client and hbase-shaded-server are meant to be used when dependency conflicts can not be solved any other way. The normal jars hbase-client and hbase-server should still be preferred when possible. Do not use hbase-shaded-server or hbase-shaded-client inside of a co-processor as bad things will happen.

    Description

      Guava's moved on. Hadoop has not.
      Jackson moves whenever it feels like it.
      Protobuf moves with breaking point changes.

      While shading all of the time would break people that require the transitive dependencies for MR or other things. Lets provide an artifact with our dependencies shaded. Then users can have the choice to use the shaded version or the non-shaded version.

      Attachments

        1. HBASE-13517-v3.patch
          16 kB
          Elliott Neil Clark
        2. HBASE-13517-v2.patch
          18 kB
          Elliott Neil Clark
        3. HBASE-13517-v1.patch
          20 kB
          Elliott Neil Clark
        4. HBASE-13517.patch
          14 kB
          Elliott Neil Clark

        Issue Links

          Activity

            People

              eclark Elliott Neil Clark
              eclark Elliott Neil Clark
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: