[
https://issues.apache.org/jira/browse/PHOENIX-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321607#comment-15321607
]
Enis Soztutar commented on PHOENIX-2535:
----------------------------------------
I did a {{mvn clean install -DskipTests}} , which failed with the patch:
{code}
[INFO] Replacing
/Users/enis/projects/git-repos/phoenix/phoenix-client/target/phoenix-4.8.0-HBase-1.2-SNAPSHOT-client.jar
with
/Users/enis/projects/git-repos/phoenix/phoenix-client/target/phoenix-client-4.8.0-HBase-1.2-SNAPSHOT-shaded.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @
phoenix-client ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Phoenix .................................... SUCCESS [2.044s]
[INFO] Phoenix Core ...................................... SUCCESS [37.499s]
[INFO] Phoenix - Flume ................................... SUCCESS [1.686s]
[INFO] Phoenix - Pig ..................................... SUCCESS [1.081s]
[INFO] Phoenix Query Server Client ....................... SUCCESS [5.403s]
[INFO] Phoenix Query Server .............................. SUCCESS [3.574s]
[INFO] Phoenix - Pherf ................................... SUCCESS [3.717s]
[INFO] Phoenix - Spark ................................... SUCCESS [17.787s]
[INFO] Phoenix - Hive .................................... SUCCESS [13.561s]
[INFO] Phoenix Client .................................... FAILURE [49.333s]
[INFO] Phoenix Server .................................... SKIPPED
[INFO] Phoenix Assembly .................................. SKIPPED
[INFO] Phoenix - Tracing Web Application ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:15.989s
[INFO] Finished at: Wed Jun 08 15:46:32 PDT 2016
[INFO] Final Memory: 119M/663M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-install-plugin:2.5.1:install (default-install)
on project phoenix-client: The packaging for this project did not assign a file
to the build artifact -> [Help 1]
{code}
> Create shaded clients (thin + thick)
> -------------------------------------
>
> Key: PHOENIX-2535
> URL: https://issues.apache.org/jira/browse/PHOENIX-2535
> Project: Phoenix
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Sergey Soldatov
> Fix For: 4.8.0
>
> Attachments: PHOENIX-2535-1.patch, PHOENIX-2535-2.patch,
> PHOENIX-2535-3.patch, PHOENIX-2535-4.patch, PHOENIX-2535-5.patch,
> PHOENIX-2535-6.patch, PHOENIX-2535-7.patch
>
>
> Having shaded client artifacts helps greatly in minimizing the dependency
> conflicts at the run time. We are seeing more of Phoenix JDBC client being
> used in Storm topologies and other settings where guava versions become a
> problem.
> I think we can do a parallel artifact for the thick client with shaded
> dependencies and also using shaded hbase. For thin client, maybe shading
> should be the default since it is new?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)