Sailesh Mukil has posted comments on this change.

Change subject: IMPALA-5744: Add 'use_krpc' flag and create DataStream interface
......................................................................


Patch Set 8: Code-Review+2

(8 comments)

Thanks for the review. Will also wait for Henry's final comments/confirmation.

Carry +2.

http://gerrit.cloudera.org:8080/#/c/7542/8//COMMIT_MSG
Commit Message:

PS8, Line 7: dummy 'use_krpc' flag
> The flag is not really dummy, right ? We are just using dummy implementatio
Done


Line 20: DataStream*Base.
> Using pure virtual base class may result in code duplication but the curren
Done


PS8, Line 27: Since having both the Thrift and KRPC implementations of the
            : DataStream* classes are only expected to be temporary for now, 
this
            : was written and optimized with the end goal of having only the 
KRPC
            : versions of the DataStreamMgr/Recvr, at which point we will get 
rid
            : of the DataStream*Base classes, the Thrift versions of the classes
            : and rename KrpcDataStream* to DataStream*. We will also rename all
            : the references that the clients have to DataStream*Base to 
DataStream*.
> May remove or shorten this entire paragraph if you take the one line sugges
Done


http://gerrit.cloudera.org:8080/#/c/7542/8/be/src/runtime/data-stream-mgr-base.h
File be/src/runtime/data-stream-mgr-base.h:

PS8, Line 35: enforces a basic interface
> defines the basic interface
Done


PS8, Line 36: , one each for Thrift and KRPC.
> for thrift and KRPC respectively.
There's nothing for them to be respective to, as Henry mentioned in his 
comments in the previous patchset.


http://gerrit.cloudera.org:8080/#/c/7542/8/be/src/runtime/data-stream-recvr-base.h
File be/src/runtime/data-stream-recvr-base.h:

PS8, Line 32: enforces a basic interface
> defines the basic interface
Done


PS8, Line 33: , one each for Thrift and KRPC
> for thrift and KRPC respectively.
There's nothing for them to be respective to, as Henry mentioned in his 
comments in the previous patchset.


http://gerrit.cloudera.org:8080/#/c/7542/8/be/src/runtime/exec-env.h
File be/src/runtime/exec-env.h:

PS8, Line 92: Clients of the implementations of DataStreamMgrBase should not 
use these functions
> Clients of DataStreamMgrBase should use stream_mgr() unless ...
Done


-- 
To view, visit http://gerrit.cloudera.org:8080/7542
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5d52245154e910529a68f53049520238eca16241
Gerrit-PatchSet: 8
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Michael Ho <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-HasComments: Yes

Reply via email to