You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/09/15 03:17:39 UTC

[GitHub] [hudi] zhouhongyu888 edited a comment on issue #3657: [SUPPORT] Failed to insert data by flink-sql

zhouhongyu888 edited a comment on issue #3657:
URL: https://github.com/apache/hudi/issues/3657#issuecomment-919661949


   > Hi, you need to use Flink 1.12.2 for Hudi 0.9.0 release and Flink 1.13.1 for master branch.
   
   thank you for your reply, I have changed Flink 1.12.2 for my test, but another error appeared. I used standalone-mode for flink and when i submited the flink-sql taskļ¼Œthe process of StandaloneSessionClusterEntrypoint  would been died 
   
   _Exception in thread "main" org.apache.flink.table.client.SqlClientException: Unexpected exception. This is a bug. Please consider filing an issue.
   	at org.apache.flink.table.client.SqlClient.main(SqlClient.java:215)
   Caused by: java.lang.RuntimeException: Error running SQL job.
   	at org.apache.flink.table.client.gateway.local.LocalExecutor.lambda$executeUpdateInternal$4(LocalExecutor.java:514)
   	at org.apache.flink.table.client.gateway.local.ExecutionContext.wrapClassLoader(ExecutionContext.java:256)
   	at org.apache.flink.table.client.gateway.local.LocalExecutor.executeUpdateInternal(LocalExecutor.java:507)
   	at org.apache.flink.table.client.gateway.local.LocalExecutor.executeUpdate(LocalExecutor.java:428)
   	at org.apache.flink.table.client.cli.CliClient.callInsert(CliClient.java:690)
   	at org.apache.flink.table.client.cli.CliClient.callCommand(CliClient.java:327)
   	at java.util.Optional.ifPresent(Optional.java:159)_
   
   The log for jobmanager below :
   _2021-09-15 10:52:51,491 INFO  org.apache.flink.runtime.jobmaster.JobMaster                 [] - Starting execution of job default: INSERT INTO t3 VALUES
     ('id1','Danny',23,TIMESTAMP '1970-01-01 00:00:01','par1'),
     ('id2','Stephen',33,TIMESTAMP '1970-01-01 00:00:02','par1'),
     ('id3','Julian',53,TIMESTAMP '1970-01-01 00:00:03','par2'),
     ('id4','Fabian',31,TIMESTAMP '1970-01-01 00:00:04','par2'),
     ('id5','Sophia',18,TIMESTAMP '1970-01-01 00:00:05','par3'),
     ('id6','Emma',20,TIMESTAMP '1970-01-01 00:00:06','par3'),
     ('id7','Bob',44,TIMESTAMP '1970-01-01 00:00:07','par4'),
     ('id8','Han',56,TIMESTAMP '1970-01-01 00:00:08','par4') (e4622d2f6e5455bc8b201c5620f17b41) under job master id 00000000000000000000000000000000.
   2021-09-15 10:52:51,545 ERROR org.apache.flink.runtime.util.FatalExitExceptionHandler      [] - FATAL: Thread 'flink-akka.actor.default-dispatcher-46' produced an uncaught exception. Stopping the process...
   java.util.concurrent.CompletionException: org.apache.flink.util.FlinkRuntimeException: Failed to start the operator coordinators
   	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_144]
   	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_144]
   	at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708) ~[?:1.8.0_144]
   	at java.util.concurrent.CompletableFuture.uniRunStage(CompletableFuture.java:717) ~[?:1.8.0_144]
   	at java.util.concurrent.CompletableFuture.thenRun(CompletableFuture.java:2010) ~[?:1.8.0_144]
   	at org.apache.flink.runtime.jobmaster.JobMaster.resetAndStartScheduler(JobMaster.java:1023) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.jobmaster.JobMaster.startJobExecution(JobMaster.java:872) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.jobmaster.JobMaster.lambda$start$1(JobMaster.java:381) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleCallAsync(AkkaRpcActor.java:419) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:210) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:100) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:158) ~[flink-dist_2.11-1.12.2.jar:1.12.2]
   	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) [flink-dist_2.11-1.12.2.jar:1.12.2]
   	at akka.actor.Actor$class.aroundReceive(Actor.scala:517) [flink-dist_2.11-1.12.2.jar:1.12.2]_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org