Dan Burkert has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11635 )

Change subject: Improve logging for mini HMS and Sentry services
......................................................................


Patch Set 2:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/11635/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11635/1//COMMIT_MSG@10
PS1, Line 10: Both services now log warnings or errors to the console, and
            : info level messages to a file in the mini cluster root.
> Do you know if we collect these in build-and-test.sh? If not, should we be?
Yes, I believe this is done in run_dist_test.py when the test fails.


http://gerrit.cloudera.org:8080/#/c/11635/1/src/kudu/hms/mini_hms.cc
File src/kudu/hms/mini_hms.cc:

http://gerrit.cloudera.org:8080/#/c/11635/1/src/kudu/hms/mini_hms.cc@326
PS1, Line 326: 'hive-log4j2.properties
> hive-log4j2.properties

good catch

> no such magic for sentry?

nope, sentry is alerted of the config location via the --log4jConf flag passed 
to the process invocation above.


http://gerrit.cloudera.org:8080/#/c/11635/1/src/kudu/sentry/mini_sentry.cc
File src/kudu/sentry/mini_sentry.cc:

http://gerrit.cloudera.org:8080/#/c/11635/1/src/kudu/sentry/mini_sentry.cc@257
PS1, Line 257:  WARN messages to the stderr
> Is Sentry less verbose? Is that why we're using WARN here instead of ERROR?
I've updated the commit message.  The current levels were just a gut feel, we 
should probably expect to tweak them in the future if we find they are too 
verbose (or not enough).



--
To view, visit http://gerrit.cloudera.org:8080/11635
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idd14cda83d56b0588667b9a3de260ffa62842adc
Gerrit-Change-Number: 11635
Gerrit-PatchSet: 2
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Tue, 09 Oct 2018 23:21:59 +0000
Gerrit-HasComments: Yes

Reply via email to