impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Robinson (Code Review)" <>
Subject [Impala-CR](cdh5-2.5.0_5.7.0) OPSAPS-32457: Fix CatalogService Thrift changes to be backwards compatible.
Date Fri, 04 Mar 2016 23:11:56 GMT
Henry Robinson has posted comments on this change.

Change subject: OPSAPS-32457: Fix CatalogService Thrift changes to be backwards compatible.

Patch Set 3:

File be/src/service/

Line 1398: Status(err.str()
use TStatusCode::INTERNAL_ERROR ?
File fe/src/main/java/com/cloudera/impala/service/

Line 299: either exclusively uses the single updated/removed field
        :     // or the corresponding list versions of the fields, but not a mix.
I think the check doesn't handle the case where neither are set. You don't have to handle
it (although it might be worthwhile), but this comment makes it sounds like it does check
that condition.

Line 895:  Distinguish which result field to set based on the number of added
        :       // functions for backwards compatibility. For example, BDR relies
        :       // on a stable catalog Thrift API.
Is it always the case that the new use of the API will return > 1 function?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Iec04d07c48d7159d2837667d7039046de126a3ad
Gerrit-PatchSet: 3
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.5.0_5.7.0
Gerrit-Owner: Alex Behm <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Henry Robinson <>
Gerrit-Reviewer: Juan Yu <>
Gerrit-HasComments: Yes

View raw message