Yonghyun Hwang has posted comments on this change. Change subject: IMPALA-3552: Make incremental stats max serialized size configurable ......................................................................
Patch Set 4: (10 comments) http://gerrit.cloudera.org:8080/#/c/4867/4//COMMIT_MSG Commit Message: PS4, Line 21: , set of : gflags, to frontend, JniCatalog and JniFrontend > to Catalog and Frontend. Done PS4, Line 23: entertain > use? Done http://gerrit.cloudera.org:8080/#/c/4867/4/be/src/catalog/catalog.h File be/src/catalog/catalog.h: Line 104: Status GetCatalogConfigBytes(JNIEnv* jni_env, jbyteArray& cfg_bytes) const; > nit: We generally use the return objects to be pointers and pass others by Done http://gerrit.cloudera.org:8080/#/c/4867/4/be/src/service/frontend.h File be/src/service/frontend.h: Line 176: Status GetFrontendConfigBytes(JNIEnv* jni_env, jbyteArray& cfg_bytes) const; > nit: same as the comment in catalog.h Done http://gerrit.cloudera.org:8080/#/c/4867/4/fe/src/main/java/org/apache/impala/common/RuntimeEnv.java File fe/src/main/java/org/apache/impala/common/RuntimeEnv.java: Line 39: private boolean computeLineage_; > Remove. Done PS4, Line 46: computeLineage_ = BackendConfig.INSTANCE.getComputeLineage(); > Remove. Update the callers to use BackendConfig. Done Line 60: public boolean computeLineage() { return computeLineage_; } > Remove. Done http://gerrit.cloudera.org:8080/#/c/4867/4/fe/src/main/java/org/apache/impala/service/BackendConfig.java File fe/src/main/java/org/apache/impala/service/BackendConfig.java: Line 38: private boolean allowAuthToLocalRules_ = false; > Remove. Done Line 45: private long incStatMaxSize_ = 0; > Directly have a reference to TBackendConfig object here. Done PS4, Line 63: public long getIncStatMaxSize() { return incStatMaxSize_; } : public boolean isAuthToLocalEnabled() { return allowAuthToLocalRule > return tBackendConfigObj.<method> directly. No need to have separate variab Done -- To view, visit http://gerrit.cloudera.org:8080/4867 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I33684725a61eabc67237503e61178305d37d3cb5 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Yonghyun Hwang <yongh...@cloudera.com> Gerrit-Reviewer: Alex Behm <alex.b...@cloudera.com> Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com> Gerrit-Reviewer: Dimitris Tsirogiannis <dtsirogian...@cloudera.com> Gerrit-Reviewer: Huaisi Xu <h...@cloudera.com> Gerrit-Reviewer: Yonghyun Hwang Gerrit-Reviewer: Yonghyun Hwang <yongh...@cloudera.com> Gerrit-HasComments: Yes