You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/01 02:21:02 UTC

[jira] [Commented] (BIGTOP-2859) Missing HIVE_VERSION when build hive rpms

    [ https://issues.apache.org/jira/browse/BIGTOP-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108293#comment-16108293 ] 

ASF GitHub Bot commented on BIGTOP-2859:
----------------------------------------

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.


> Missing HIVE_VERSION when build hive rpms
> -----------------------------------------
>
>                 Key: BIGTOP-2859
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2859
>             Project: Bigtop
>          Issue Type: Bug
>          Components: hive
>    Affects Versions: 1.2.1
>            Reporter: dengkai
>         Attachments: BIGTOP-2859.patch
>
>
> When build hive rpms,  the HIVE_VERSION is undefined which leads softlinks in hcatalog/share dir missed and wrong property in hive-site.xml.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)