[
https://issues.apache.org/jira/browse/HBASE-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800741#action_12800741
]
Lars Francke commented on HBASE-2128:
-------------------------------------
bq. Meanwhile - the CP jars of stargate / transactional are kept in a separate
namespace altogether - not affecting the scripts.
I don't know if you are doing this intentionally but now the core jars are
duplicated in the lib/* folders. This not only doubles the size of the final
tar (from 35 MB to 70 MB) but it seems to cause problems with SLF4J (which will
have to be introduced as a new dependency for Thrift 0.2). The latter may be my
fault though, I'm struggling to get everything running as it was before the
switch to Ivy. I'll comment again if it turns out the problem was caused by me.
Either way the duplication should be unnecessary. At least I can't imagine why
it would be required.
The src/contrib/stargate/lib folder is empty and can be deleted/does not need
to be created at all.
Thanks for your quick fix!
> ant tar build broken since switch to Ivy
> ----------------------------------------
>
> Key: HBASE-2128
> URL: https://issues.apache.org/jira/browse/HBASE-2128
> Project: Hadoop HBase
> Issue Type: Bug
> Components: build
> Affects Versions: 0.21.0
> Reporter: Lars Francke
> Attachments: HBASE-2128.patch, HBASE-2128.patch
>
>
> Running ant tar produces a very small tar file because all .jar dependencies
> are missing. This happens since the switch to Ivy.
> Adding common.ivy.lib.dir to the build.xml fixes some of it but some things
> still don't work:
> {code:xml}
> <mkdir dir="${dist.dir}/lib"/>
> <copy todir="${dist.dir}/lib">
> <fileset dir="${build.lib}" />
> <fileset dir="${common.ivy.lib.dir}"/>
> </copy>
> {code}
> The jars for the contrib apps still seem to be missing. At the moment this is
> only stargate but the I've got the same problem for the new thrift contrib. I
> am afraid I don't know enough about Ant or Ivy to be of any further
> assistance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.