Julien Eid created BIGTOP-1369:
----------------------------------
Summary: Hive Debian rules file does not set maven.repo.local
Key: BIGTOP-1369
URL: https://issues.apache.org/jira/browse/BIGTOP-1369
Project: Bigtop
Issue Type: Bug
Reporter: Julien Eid
The Hive Debian rules file when calling do-component-build does not set the
maven.repo.local command line argument and so when Hive builds it uses the
default location for the local maven repo, which breaks if HBase was built in a
different m2 repo while Hive was using the default, causing Hive to be unable
to find hbase-common.
Noticied this issue because my HOME variable was not set to /root and was
instead /, which caused HBase to put artifacts in /.m2 while Hive was looking
for them in /root/.m2.
You can see
https://github.com/apache/bigtop/blob/master/bigtop-packages/src/deb/hbase/rules
that -Dmaven.repo.local gets set, but in
https://github.com/apache/bigtop/blob/master/bigtop-packages/src/deb/hive/rules
it's not.
I also saw that HCatalog's rules file does not set the variable as well, but I
haven't check yet if that breaks things.
--
This message was sent by Atlassian JIRA
(v6.2#6252)