I want to stop hive commands from generating the hive job file (under
/tmp/user/hive_log_job*) for every query, as we run multiple queries in
batch and the file is getting really big. (1GB+)
what would be the best way to do it?
Thanks in advance,
Gitansh Chadha 's gravatar image asked Jul 30 2014 at 20:52 in Hive-User by Gitansh Chadha

2 Answers

Set value of "hive.querylog.location" to empty string in hive-site.xml.
2014-07-31 13:08 GMT+09:00 Gitansh Chadha
=?EUC-KR?B?TmF2aXO3+b3Cv+w=?= 's gravatar image answered Jul 30 2014 at 21:13 by Navis류승우
Thanks for your suggestion Navis. However, this did not have any effect.
changing the location to another directory works. Is there any other way?
I should mention I am using hive 0.90. I noticed a few fixes around
configuration in hive 0.10.
Gitansh Chadha 's gravatar image answered Jul 31 2014 at 10:19 by Gitansh Chadha