Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> How to set an empty value to hive.querylog.location to disable the creation of hive history file


Copy link to this message
-
How to set an empty value to hive.querylog.location to disable the creation of hive history file
Hi, all
Refer to https://cwiki.apache.org/Hive/adminmanual-configuration.html, if I
set "hive.querylog.location" to an empty string, it won't create structured
log.

I filed hive-site.xml in HIVE_HOME/conf and add the following setting,
<property>
  <name>hive.querylog.location</name>
  <value></value>
</property>

BUT it didn't work, when launch HIVE_HOME/bin/hive, it created a history
file in /tmp/<user.name> which is the default directory of this property.

Do you know how to set an EMPTY value in hive-site.xml?
Thanks,
- Bing
+
Jithendranath Joijoide 2012-12-06, 08:57
+
Bing Li 2012-12-06, 09:05
+
Hezhiqiang 2012-12-06, 12:45
+
Bing Li 2012-12-07, 09:09
+
Bing Li 2012-12-07, 08:47
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB