impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Vissapragada (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3499: Split catalog update
Date Fri, 10 Jun 2016 11:27:48 GMT
Bharath Vissapragada has posted comments on this change.

Change subject: IMPALA-3499: Split catalog update

Patch Set 16:

File be/src/service/frontend.h:

PS16, Line 38: of
"of" twice.
File be/src/service/

PS16, Line 1243:  each for multiple updates. IMPALA-3499

Line 1263:         incremental_request->__set_catalog_service_id(
For supportability purposes, could you log something about the catalog_object and its size
here? We have always found it difficult to figure out what specific object was causing the
huge catalog updates, May be we can log something if size(catalog_object) > 100mb or something?

Line 1278:       if (current_topic_update_size_bytes + len > MAX_CATALOG_UPDATE_BATCH_SIZE_BYTES)
I still think its cleaner to move this block after L1254. (even though the frontend can handle
setting catalog_service_id to a different incremental_request).

PS16, Line 1279: TUpdateCatalogCacheRequest
Based on my understanding of Java thrift libraries, calling the default constructor doesn't
set default values for the required fields. if you try to serialize/deserialize the objects
without setting the required fields, it fails with an error "required field <field>
not set". I'm surprised you didn't hit that. May be the behavior changed. If you are confident
that this works, please ignore, else try calling the constructor with arguments/set this explicitly.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I176db25124a32944f2396ce8aafbed49cac95928
Gerrit-PatchSet: 16
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Huaisi Xu <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Henry Robinson <>
Gerrit-Reviewer: Huaisi Xu <>
Gerrit-HasComments: Yes

View raw message