[
https://issues.apache.org/jira/browse/PHOENIX-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enis Soztutar updated PHOENIX-1945:
-----------------------------------
Attachment: phoenix-1945_v1.patch
Here is a simple patch which moves the client-minimal to be executed before
package-to-tar.
I think we should also get rid of the custom tarballing for the RC and only
rely on the maven assembly. This will unify the tarball layouts.
[[email protected]], [~samarthjain], [~mujtaba] what do you guys think?
Should we open another issue?
> Phoenix tarball from assembly does not contain phoenix-[version]-server.jar
> ---------------------------------------------------------------------------
>
> Key: PHOENIX-1945
> URL: https://issues.apache.org/jira/browse/PHOENIX-1945
> Project: Phoenix
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Attachments: phoenix-1945_v1.patch
>
>
> The tarball created from
> {code}
> mvn clean package -DskipTests
> {code}
> does not contain the phoenix-[version]-server.jar which is a release
> artifact.
> {code}
> 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
> {code}
> 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}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)