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

Phoenix tarball from assembly does not contain phoenix-[version]-server.jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Pending Closed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0, 4.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The tarball created from

      mvn clean  package -DskipTests  
      

      does not contain the phoenix-[version]-server.jar which is a release artifact.

      HW10676:phoenix$ tar ft phoenix-assembly/target/phoenix-4.5.0-SNAPSHOT.tar.gz | grep server
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-4.5.0-SNAPSHOT-runnable.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-4.5.0-SNAPSHOT-sources.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-4.5.0-SNAPSHOT-tests.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-4.5.0-SNAPSHOT.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-client-4.5.0-SNAPSHOT-sources.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-client-4.5.0-SNAPSHOT-tests.jar
      phoenix-4.5.0-SNAPSHOT/lib/phoenix-server-client-4.5.0-SNAPSHOT.jar
      phoenix-4.5.0-SNAPSHOT/bin/queryserver.py
      phoenix-4.5.0-SNAPSHOT/lib/hbase-server-1.0.1.jar
      phoenix-4.5.0-SNAPSHOT/lib/hadoop-yarn-server-common-2.5.1.jar
      phoenix-4.5.0-SNAPSHOT/lib/hbase-server-1.0.1-tests.jar
      phoenix-4.5.0-SNAPSHOT/lib/calcite-avatica-server-1.2.0-incubating.jar
      

      We do the release tarball from the shell script at dev/make_rc.sh, which includes this jar. The reason that -server.jar is not included seems to be that, the assembly executions at phoenix-assembly/pom.xml are run in order of declaration. client-minimal which creates the -server.jar runs after the tarball generator package-to-tar.

        Attachments

        1. phoenix-1945_v1.patch
          4 kB
          Enis Soztutar

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: