Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

For debugging purpose I want hive log to be written in a separate directory, how can I achieve it without changing log4j settings from ambar

avatar
New Member
 
1 ACCEPTED SOLUTION

avatar
Super Guru

try this will create log in tmp folder with the name of hive.log

hive --hiveconf hive.root.logger=debug,DRFA -Dhive.log.dir=/tmp -Dhive.log.file=hive.log

View solution in original post

1 REPLY 1

avatar
Super Guru

try this will create log in tmp folder with the name of hive.log

hive --hiveconf hive.root.logger=debug,DRFA -Dhive.log.dir=/tmp -Dhive.log.file=hive.log