asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yingyi Bu (Code Review)" <>
Subject Change in hyracks[master]: Changes required to support MessageBroker implementation
Date Thu, 17 Dec 2015 01:22:17 GMT
Yingyi Bu has posted comments on this change.

Change subject: Changes required to support MessageBroker implementation

Patch Set 6:

File hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/application/

Line 67:     public IService getClusterControllerService();
Can you add some annotation for that, just as other interface methods?

Also, is it possible to move up the method to IApplicationContext as "getControllerService"
Since you already have "IService", "getClusterControllerService()" doesn't seem to fully utilize
the abstraction.
File hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/application/

Line 82:     public IService getNodeControllerService();
Similar to ICCApplicationContext, move up this method and add some annotations?
File hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/service/

Line 21: public interface IService {
Rename it to "IControllerService"?
"IService" sounds too general --- a reader might not be able to figure out its specific meaning
File hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/application/

Line 117:     public IService getClusterControllerService() {
getClusterControllerService --> getControllerService
File hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/base/

Line 57:     public IIPCHandle getIPCHandle();
Do you need to expose the IPCHandle?
Where this get method is called? I couldn't find a place.
File hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/

Line 319:         appCtx = new NCApplicationContext(this,serverCtx, ctx, id, memoryManager,
format the code.
File hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/application/

Line 106:     @Override
getNodeControllerSerive --> getControllerService
File hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/file/

Line 23:     long createId() throws Exception;
Can you annotate this interface method, e.g., what property this call needs to guarantee,
maybe, a unique return for each call and returned values are monotonically increase.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib9f49234eebe912c48e7f71980433a9b42595741
Gerrit-PatchSet: 6
Gerrit-Project: hyracks
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <>
Gerrit-Reviewer: Ian Maxon <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message