Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5213

Phoenix-client improvements: add more relocations, exclude log binding, add source jar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0, 4.15.0
    • 4.15.0, 5.1.0, 5.0.1
    • None
    • None

    Description

      To make the existing phoenix-client, I'm proposing the following changes:
      1) Add additional relocations of some packages

      Add a new "embedded" classifier to phoenix-client that does the following:
      2) Exclude the slf4j-log4j12 binding. Apparently this isn't pulled in directly from phoenix-core itself, but transitively from other projects. It's generally considered best practice to not impose a log binding on downstream projects. The slf4j-log4j12 jar will still be in the phoenix tarball's /lib folder.

      3) Create a source jar for phoenix-client embedded.

      4) Create a dependency-reduced pom, so that the client can be used directly in downstream projects without having to exclude transitive artifacts.

      5) rename the jar to match the final name in the repository: phoenix-client-

      {version}.jar There is now a symlink phoenix-{version}

      -client.jar to maintain backwards compatibility.

      Attachments

        1. PHOENIX-5213.4.x-HBase-1.4.v4.patch
          29 kB
          Vincent Poon
        2. PHOENIX-5213.4.x-HBase-1.4.v3.patch
          29 kB
          Vincent Poon
        3. PHOENIX-5213.4.x-HBase-1.4.v2.patch
          27 kB
          Vincent Poon
        4. PHOENIX-5213.4.x-HBase-1.4.v1.patch
          9 kB
          Vincent Poon

        Issue Links

          Activity

            People

              vincentpoon Vincent Poon
              vincentpoon Vincent Poon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: