impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huaisi Xu (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3499: Split catalog update
Date Thu, 09 Jun 2016 20:36:39 GMT
Huaisi Xu has posted comments on this change.

Change subject: IMPALA-3499: Split catalog update

Patch Set 14:

Commit Message:

PS14, Line 9: deserialized
> serialized byte array, no?
Oh that should be deserializing...

PS14, Line 10:  
> Instead of

PS14, Line 11: update
> the update

PS14, Line 12: 2GB
> 500MB?
this is actually TBD. what do you think the limit should be?
File be/src/service/frontend.h:

PS14, Line 39: contains
> nit: contain
I think after "each" I should use xxx+"s"?
File be/src/service/

> call this:

PS14, Line 1247: incrementalRequest
> C++-style naming
will do... I just thought that if we keep them exactly the same, it is easier for reader to
know that "b" comes from "a".
File be/src/util/jni-util.h:

Line 275:     jobjectArray jArrayOfByteArray =
> C++-style naming, please.
ok. but for this place I think this is a java object though.. I will
File fe/src/main/java/com/cloudera/impala/service/

Line 158:     TUpdateCatalogCacheRequest merged_update_request = new TUpdateCatalogCacheRequest();
> Needs a comment about what is going on in this method.
will do

PS14, Line 164: if (!merged_update_request.isSetIs_delta()) {
> is_delta is a required field. Can't you just OR- the is_delta fields from e
I am not sure why "required field" matters here.. could you elaborate?
merged_update_request comes from "new TUpdateCatalogCacheRequest()" which does not set anything?

Line 167:       if (!incrementalRequest.getCatalog_service_id().equals(default_catalog_service_id))
> long line

PS14, Line 171: if (!merged_update_request.isSetUpdated_objects()) {
> all of these fields are required, which means they'll be initialised by the
No I cannot. that is get by TUpdateCatalogCacheRequest merged_update_request = new TUpdateCatalogCacheRequest();.
and this constructor will set them to null.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I176db25124a32944f2396ce8aafbed49cac95928
Gerrit-PatchSet: 14
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