hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-1183) hive.hwi.war.file vanished from hive-default.xml. error message prints wrong variable. does not start by default.
Date Tue, 29 Jul 2014 09:33:39 GMT

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

Lefty Leverenz commented on HIVE-1183:
--------------------------------------

The wiki had given "$\{HIVE_HOME\}/lib/hive_hwi.war" as the default for *hive.hwi.war.file*
(note the underscore) so I changed it to  "$\{HIVE_HOME\}/lib/hive-hwi-<version>.war"
in the Hive Web Interface doc and gave both defaults with version information in the Configuration
Properties doc.

* [Hive Web Interface -- Configuration | https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface#HiveWebInterface-Configuration]
* [Configuration Properties -- Hive Web Interface | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HiveWebInterface(HWI)]

> hive.hwi.war.file vanished from hive-default.xml. error message prints wrong variable.
does not start by default.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1183
>                 URL: https://issues.apache.org/jira/browse/HIVE-1183
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Blocker
>             Fix For: 0.5.0
>
>         Attachments: HIVE-1183.2.b-0.5_and_trunk.diff, HIVE-1183.showidea.diff, hive-1183-b5.0.diff,
hive-1183-trunk.diff, hive-1183.diff
>
>
> hive.hwi.war.file vanished from hive-default.xml.
> error message prints wrong variable.
> since the full path is no longer supplied. The old documentation no longer applies
>  String hwiWAR = conf.getVar(HiveConf.ConfVars.HIVEHWIWARFILE);
>  String hivehome = System.getenv().get("HIVE_HOME");
>    File hwiWARFile = new File(hivehome, hwiWAR);
>    if (!hwiWARFile.exists()) {
>      l4j.fatal("HWI WAR file not found at " + hwiWAR);
>      System.exit(1);
>    }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message