You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Anthony Hsu (JIRA)" <ji...@apache.org> on 2014/11/06 18:37:34 UTC
[jira] [Commented] (HIVE-3779) An empty value to
hive.logquery.location can't disable the creation of hive history log files
[ https://issues.apache.org/jira/browse/HIVE-3779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200521#comment-14200521 ]
Anthony Hsu commented on HIVE-3779:
-----------------------------------
In case you're still using an older version of Hive that doesn't let you disable the history log files, one workaround that you can use is to run
{code}
!rm -r /path/to/hive.querylog.location;
{code}
as your first shell command before running your queries.
> An empty value to hive.logquery.location can't disable the creation of hive history log files
> ---------------------------------------------------------------------------------------------
>
> Key: HIVE-3779
> URL: https://issues.apache.org/jira/browse/HIVE-3779
> Project: Hive
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 0.9.0
> Reporter: Bing Li
> Priority: Minor
>
> In AdminManual Configuration (https://cwiki.apache.org/Hive/adminmanual-configuration.html), the description of hive.querylog.location mentioned that if the variable set to empty string structured log will not be created.
> But it fails with the following setting,
> <property>
> <name>hive.querylog.location</name>
> <value></value>
> </property>
> It seems that it can NOT get an empty value from HiveConf.ConfVars.HIVEHISTORYFILELOC, but the default value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)