Bharath Vissapragada has posted comments on this change.

Change subject: Improve logging of table loading.

Patch Set 1:

Commit Message:

Line 7: Improve logging of table loading.
JIRA id? I think it helps in backporting to other branches.
File fe/src/main/java/org/apache/impala/catalog/

Line 528:       LOG.trace("Loading native functions for database: " + 
Should we enable logging related to fns (here and below) ? I think it helps 
figuring out startup issues and IIUC this is not a frequent operation (I might 
be wrong here).

Line 898:       LOG.debug(String.format("Refreshing metadata: %s", 
Given we support both table & partition granularity, Is it better to explicitly 
mention table/partition in the statement? Refreshing table metadata...? (Same 

Line 1036:           tableName.getDb_name(), tableName.getTable_name()));
this and invalidateDb()? Can potentially help the frequency with which 
invalidates are run.

Line 1262:   public Table reloadPartition(Table tbl, List<TPartitionKeyValue> 
Should we add this too?
File fe/src/main/java/org/apache/impala/catalog/

Line 681:       LOG.debug("Creating empty partition objects: " + getFullName());
Log statment would probably be confusing for non-partitioned tables?  Should we 
move it to after L713 or rephrase here?

PS1, Line 1057: db_.getName() + "." + name_

Line 1081:           LOG.debug("Incrementally loaded metadata for: " + 
I have a feeling these could be noisy and can do a lot of logging.
File fe/src/main/java/org/apache/impala/service/

Line 570:       LOG.debug("Loading table metadata: " + tbl.getFullName());
This will be logged twice for non-hdfs tables, once here and once inside 
File fe/src/main/java/org/apache/impala/service/

PS1, Line 832: info
debug like others for consistency?

Line 915:               LOG.trace(String.format("Missing tables were not 
received in %dms. Load " +
Isn't this a warn/error?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I8de96d0cb6d09b2272b1925d42cb059367fe7196
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-HasComments: Yes

Reply via email to