[
https://issues.apache.org/jira/browse/HIVE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836295#action_12836295
]
Edward Capriolo commented on HIVE-1183:
---------------------------------------
It should never be the case that this file is not found. We should not need
userspace checking as this was a buildfile *nd code error.
> 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: Hadoop Hive
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 0.5.0, 0.6.0
> Reporter: Edward Capriolo
> Assignee: Edward Capriolo
> Priority: Blocker
> Fix For: 0.5.0, 0.6.0
>
> Attachments: hive-1183-b5.0.diff, hive-1183-trunk.diff,
> hive-1183.diff, HIVE-1183.showidea.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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.