hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1183) hive.hwi.war.file vanished from hive-default.xml. error message prints wrong variable. does not start by default.
Date Sat, 20 Feb 2010 20:42:27 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zheng Shao updated HIVE-1183:
-----------------------------

    Attachment: HIVE-1183.showidea.diff

Thanks Edward.

1. Shall we show a message that the user should set hiveconf {{hive.hwi.war.file}} if the
war file is not found?

2. See HIVE-1183.showidea.diff. We can use "filterset" to change the file content when copying.
This can help users get started without any manual changes to the conf file.

What do you think?


> 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.


Mime
View raw message