You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Dima Fadeyev <li...@gmail.com> on 2016/12/29 09:02:07 UTC

Hive Metastore: how to overwrite default log file name?

Hello, everyone,

I'm using Hive 2.1.1. I can't find a way to overwrite the default log file
name for Metastore service.

Here is what I've tried:

hive --service metastore --hiveconf hive.log.file=metastore.log

Setting the hive.log.file variable seems to work for HiveServer2 (hive
--service hiveserver2 --hiveconf hive.log.file=hs2.log), but not for
Metastore.

Is there a way to specify the log file for Metastore on command line?

Thanks in advance and best regards.