You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by loleek <gi...@git.apache.org> on 2017/08/01 02:20:05 UTC
[GitHub] bigtop issue #267: BIGTOP-2859: Add hive-version when build hive rpms
Github user loleek commented on the issue:
https://github.com/apache/bigtop/pull/267
There has no solution before. Without HIVE_VERSION, part of install_hive.sh failed to execute:
1. sed -i -e "s|@VERSION@|${**HIVE_VERSION**}|" ${PREFIX}${CONF_DIST_DIR}/hive-site.xml
Property in hive-site.xml becomes
_<property>
<name>hive.hwi.war.file</name>
<value>/usr/lib/hive/lib/hive-hwi-.war</value>
<description>This is the WAR file with the jsp content for Hive Web Interface</description>
</property>_
2.for DIR in ${HCATALOG_SHARE_DIR} ; do
(cd $DIR &&
for j in hive-hcatalog-*.jar; do
if [[ $j =~ hive-hcatalog-(.*)-${**HIVE_VERSION**}.jar ]]; then
name=${BASH_REMATCH[1]}
ln -s $j hive-hcatalog-$name.jar
fi
done)
done
Softlinks in ${HCATALOG_SHARE_DIR} missing.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---