You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Matthew Jacobs (Code Review)" <ge...@cloudera.org> on 2016/02/29 23:25:13 UTC

[Impala-CR](cdh5-trunk) IMPALA-1822: Cleanup query profile log

Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-1822: Cleanup query profile log
......................................................................


Patch Set 2:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/2260/2/be/src/util/logging-support.cc
File be/src/util/logging-support.cc:

Line 98: path
as in the header, I think we need to pick a name that indicates it's a pattern, e.g. path_pattern? Maybe you can think of something better.


Line 112: 		 
can you convert these tabs to spaces?


Line 113: 		 
same


Line 130: 		 
same.


http://gerrit.cloudera.org:8080/#/c/2260/2/be/src/util/logging-support.h
File be/src/util/logging-support.h:

Line 34: path
path is a bit misleading as that sounds like a single file path, but this is actually a glob pattern


Line 34: DeleteOldLogs
nit: maybe nest this as a static fn in a LoggingSupport class since it's kind of a dangerous function to be floating around in the impala-wide namespace.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I52430d192d27cdf9bc0d81f26a63048eaeec5d29
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Matthew Jacobs <mj...@cloudera.com>
Gerrit-Reviewer: Sailesh Mukil <sa...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-HasComments: Yes