hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barna Zsombor Klara (JIRA)" <>
Subject [jira] [Created] (HIVE-15168) Flaky test: TestSparkClient.testJobSubmission (still flaky)
Date Wed, 09 Nov 2016 09:51:59 GMT
Barna Zsombor Klara created HIVE-15168:

             Summary: Flaky test: TestSparkClient.testJobSubmission (still flaky)
                 Key: HIVE-15168
             Project: Hive
          Issue Type: Sub-task
            Reporter: Barna Zsombor Klara
            Assignee: Barna Zsombor Klara

[HIVE-14910|] already addressed one source
of flakyness bud sadly not all it seems.
In JobHandleImpl the listeners are registered after the job has been submitted.
This may end up in a racecondition.
 // Link the RPC and the promise so that events from one are propagated to the other as
      // needed.
      rpc.addListener(new GenericFutureListener<io.netty.util.concurrent.Future<Void>>()
        public void operationComplete(io.netty.util.concurrent.Future<Void> f) {
          if (f.isSuccess()) {
          } else if (!promise.isDone()) {
      promise.addListener(new GenericFutureListener<Promise<T>>() {
        public void operationComplete(Promise<T> p) {
          if (jobId != null) {
          if (p.isCancelled() && !rpc.isDone()) {

This message was sent by Atlassian JIRA

View raw message