asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "abdullah alamoudi (Code Review)" <>
Subject Change in asterixdb[master]: [NO ISSUE][RT] Abort All jobs on first time registration
Date Thu, 28 Sep 2017 02:25:26 GMT
abdullah alamoudi has posted comments on this change.

Change subject: [NO ISSUE][RT] Abort All jobs on first time registration

Patch Set 3:

File asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/

PS3, Line 109:             LOGGER.log(Level.WARNING, "Failed getting hyracks dataset connection",
             :             LOGGER.log(Level.WARNING, "Resetting hyracks connection");
> combine into a single log message

PS3, Line 117: ctx
> why ctx?  might be clearer to synchronize on this
I don't even know why it is synchronized. The map is actually a concurrent map. I just left
it as it is as I thought there might be some reason we're synchronizing on it.

However, synchronizing on this will not give the same effect as ctx is shared across servlets.

PS3, Line 117:         synchronized (ctx) {
> move to after 1st if (hds == null) (i.e. line 120)
File hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/work/

PS3, Line 37:     private final ClusterControllerService ccs;
> insert blank line to match convention?
File hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/work/

PS3, Line 32: AbortAllJobsWork
> It seems we should only abort jobs started by the specific cluster controll
Done. Created an issue as well.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: If755b7131bdc91790ed28be66f0c61b51f28c2fa
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Michael Blow <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message