Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-2761

IllegalArgException from timeline server when serving getLastestBaseFiles with multi-writer

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.11.0
    • None

    Description

      When concurrent writes try to ingest to hudi, occasionally, we run into IllegalArgumentException as below. Even though exception is seen, the actual write succeeds though. 

      Here is what is happening from my understanding. 

       

      Lets say table's latest commit is C3. 

      Writer1 tries to commit C4, writer2 tries to do C5 and writer3 tries to do C6 (all 3 are non-overlapping and so expected to succeed) 

      I started C4 from writer1 and then switched to writer 2 and triggered C5 and then did the same for writer3. 

      C4 went through fine for writer1 and succeeded. 

      for writer2, when timeline got instantiated, it's latest snapshot was C3, but when it received the getLatestBaseFiles() request, latest commit was C4 and so it throws an exception. Similar issue happend w/ writer3 as well. 

       

      scala> df.write.format("hudi").
           |   options(getQuickstartWriteConfigs).
           |   option(PRECOMBINE_FIELD.key(), "created_at").
           |   option(RECORDKEY_FIELD.key(), "other").
           |   option(PARTITIONPATH_FIELD.key(), "type").
           |   option("hoodie.cleaner.policy.failed.writes","LAZY").
           |   option("hoodie.write.concurrency.mode","OPTIMISTIC_CONCURRENCY_CONTROL").
           |   option("hoodie.write.lock.provider","org.apache.hudi.client.transaction.lock.ZookeeperBasedLockProvider").
           |   option("hoodie.write.lock.zookeeper.url","localhost").
           |   option("hoodie.write.lock.zookeeper.port","2181").
           |   option("hoodie.write.lock.zookeeper.lock_key","locks").
           |   option("hoodie.write.lock.zookeeper.base_path","/tmp/mw_testing/.locks").
           |   option(TBL_NAME.key(), tableName).
           |   mode(Append).
           |   save(basePath)
      21/11/15 07:47:33 WARN HoodieSparkSqlWriter$: Commit time 20211115074733457
      21/11/15 07:47:35 WARN EmbeddedTimelineService: Started embedded timeline server at 10.0.0.202:57644
      [Stage 2:>                                                        (0                                                                    21/11/15 07:47:39 ERROR RequestHandler: Got runtime exception servicing request partition=CreateEvent&maxinstant=20211115074301094&basepath=file%3A%2Ftmp%2Fmw_testing%2Ftrial2&lastinstantts=20211115074301094&timelinehash=ce963fe977a9d2176fadecf16c223cb3b98d7f6f7aaaf41cd7855eb098aee47d
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:39 WARN ExceptionMapper: Uncaught exception
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:39 ERROR PriorityBasedFileSystemView: Got error running preferred function. Trying secondary
      org.apache.hudi.exception.HoodieRemoteException: Server Error
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesFromParams(RemoteHoodieTableFileSystemView.java:241)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesBeforeOrOn(RemoteHoodieTableFileSystemView.java:248)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.execute(PriorityBasedFileSystemView.java:97)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.getLatestBaseFilesBeforeOrOn(PriorityBasedFileSystemView.java:134)
          at org.apache.hudi.index.HoodieIndexUtils.getLatestBaseFilesForPartition(HoodieIndexUtils.java:54)
          at org.apache.hudi.index.HoodieIndexUtils.lambda$getLatestBaseFilesForAllPartitions$ff6885d8$1(HoodieIndexUtils.java:74)
          at org.apache.hudi.client.common.HoodieSparkEngineContext.lambda$flatMap$7d470b86$1(HoodieSparkEngineContext.java:134)
          at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:125)
          at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:125)
          at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435)
          at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441)
          at scala.collection.Iterator$class.foreach(Iterator.scala:891)
          at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
          at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
          at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)
          at scala.collection.AbstractIterator.to(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)
          at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:289)
          at scala.collection.AbstractIterator.toArray(Iterator.scala:1334)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
          at org.apache.spark.scheduler.Task.run(Task.scala:123)
          at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
          at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
          at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.http.client.HttpResponseException: Server Error
          at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
          at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
          at org.apache.http.client.fluent.Response.returnContent(Response.java:97)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.executeRequest(RemoteHoodieTableFileSystemView.java:179)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesFromParams(RemoteHoodieTableFileSystemView.java:237)
          ... 33 more
      21/11/15 07:47:39 ERROR RequestHandler: Got runtime exception servicing request partition=CreateEvent&basepath=file%3A%2Ftmp%2Fmw_testing%2Ftrial2&fileid=3ed17c94-b793-4224-b7b3-1c5766549df4-1&lastinstantts=20211115074301094&timelinehash=ce963fe977a9d2176fadecf16c223cb3b98d7f6f7aaaf41cd7855eb098aee47d
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:39 WARN ExceptionMapper: Uncaught exception
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:39 ERROR PriorityBasedFileSystemView: Got error running preferred function. Trying secondary
      org.apache.hudi.exception.HoodieRemoteException: Server Error
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFile(RemoteHoodieTableFileSystemView.java:493)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.execute(PriorityBasedFileSystemView.java:97)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.getLatestBaseFile(PriorityBasedFileSystemView.java:140)
          at org.apache.hudi.io.HoodieReadHandle.getLatestDataFile(HoodieReadHandle.java:62)
          at org.apache.hudi.io.HoodieReadHandle.createNewFileReader(HoodieReadHandle.java:67)
          at org.apache.hudi.io.HoodieRangeInfoHandle.getMinMaxKeys(HoodieRangeInfoHandle.java:39)
          at org.apache.hudi.index.bloom.HoodieBloomIndex.lambda$loadInvolvedFiles$4cbadf07$1(HoodieBloomIndex.java:149)
          at org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1040)
          at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
          at scala.collection.Iterator$class.foreach(Iterator.scala:891)
          at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
          at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
          at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)
          at scala.collection.AbstractIterator.to(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)
          at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:289)
          at scala.collection.AbstractIterator.toArray(Iterator.scala:1334)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
          at org.apache.spark.scheduler.Task.run(Task.scala:123)
          at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
          at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
          at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.http.client.HttpResponseException: Server Error
          at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
          at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
          at org.apache.http.client.fluent.Response.returnContent(Response.java:97)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.executeRequest(RemoteHoodieTableFileSystemView.java:179)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFile(RemoteHoodieTableFileSystemView.java:489)
          ... 31 more
      21/11/15 07:47:40 ERROR RequestHandler: Got runtime exception servicing request partition=CreateEvent&maxinstant=20211115074301094&basepath=file%3A%2Ftmp%2Fmw_testing%2Ftrial2&lastinstantts=20211115074301094&timelinehash=ce963fe977a9d2176fadecf16c223cb3b98d7f6f7aaaf41cd7855eb098aee47d
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:40 WARN ExceptionMapper: Uncaught exception
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:40 ERROR PriorityBasedFileSystemView: Got error running preferred function. Trying secondary
      org.apache.hudi.exception.HoodieRemoteException: Server Error
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesFromParams(RemoteHoodieTableFileSystemView.java:241)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesBeforeOrOn(RemoteHoodieTableFileSystemView.java:248)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.execute(PriorityBasedFileSystemView.java:97)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.getLatestBaseFilesBeforeOrOn(PriorityBasedFileSystemView.java:134)
          at org.apache.hudi.table.action.commit.UpsertPartitioner.getSmallFiles(UpsertPartitioner.java:275)
          at org.apache.hudi.table.action.commit.UpsertPartitioner.lambda$getSmallFilesForPartitions$f1d92f9e$1(UpsertPartitioner.java:256)
          at org.apache.spark.api.java.JavaPairRDD$$anonfun$pairFunToScalaFun$1.apply(JavaPairRDD.scala:1043)
          at org.apache.spark.api.java.JavaPairRDD$$anonfun$pairFunToScalaFun$1.apply(JavaPairRDD.scala:1043)
          at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
          at scala.collection.Iterator$class.foreach(Iterator.scala:891)
          at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
          at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
          at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
          at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:310)
          at scala.collection.AbstractIterator.to(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:302)
          at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1334)
          at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:289)
          at scala.collection.AbstractIterator.toArray(Iterator.scala:1334)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$15.apply(RDD.scala:990)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:2101)
          at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
          at org.apache.spark.scheduler.Task.run(Task.scala:123)
          at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
          at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
          at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.http.client.HttpResponseException: Server Error
          at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
          at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
          at org.apache.http.client.fluent.Response.returnContent(Response.java:97)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.executeRequest(RemoteHoodieTableFileSystemView.java:179)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFilesFromParams(RemoteHoodieTableFileSystemView.java:237)
          ... 31 more
      21/11/15 07:47:41 ERROR RequestHandler: Got runtime exception servicing request partition=CreateEvent&basepath=file%3A%2Ftmp%2Fmw_testing%2Ftrial2&fileid=3ed17c94-b793-4224-b7b3-1c5766549df4-1&lastinstantts=20211115074301094&timelinehash=ce963fe977a9d2176fadecf16c223cb3b98d7f6f7aaaf41cd7855eb098aee47d
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:41 WARN ExceptionMapper: Uncaught exception
      java.lang.IllegalArgumentException: Last known instant from client was 20211115074301094 but server has the following timeline [[20211115074301094__commit__COMPLETED], [20211115074731908__commit__COMPLETED]]
          at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
          at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:510)
          at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22)
          at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46)
          at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17)
          at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143)
          at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41)
          at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107)
          at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
          at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
          at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
          at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
          at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
          at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
          at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502)
          at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370)
          at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
          at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
          at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103)
          at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
          at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
          at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
          at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:748)
      21/11/15 07:47:41 ERROR PriorityBasedFileSystemView: Got error running preferred function. Trying secondary
      org.apache.hudi.exception.HoodieRemoteException: Server Error
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFile(RemoteHoodieTableFileSystemView.java:493)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.execute(PriorityBasedFileSystemView.java:97)
          at org.apache.hudi.common.table.view.PriorityBasedFileSystemView.getLatestBaseFile(PriorityBasedFileSystemView.java:140)
          at org.apache.hudi.io.HoodieMergeHandle.<init>(HoodieMergeHandle.java:115)
          at org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.getUpdateHandle(BaseSparkCommitActionExecutor.java:350)
          at org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.handleUpdate(BaseSparkCommitActionExecutor.java:321)
          at org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.handleUpsertPartition(BaseSparkCommitActionExecutor.java:295)
          at org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.lambda$execute$ecf5068c$1(BaseSparkCommitActionExecutor.java:154)
          at org.apache.spark.api.java.JavaRDDLike$$anonfun$mapPartitionsWithIndex$1.apply(JavaRDDLike.scala:102)
          at org.apache.spark.api.java.JavaRDDLike$$anonfun$mapPartitionsWithIndex$1.apply(JavaRDDLike.scala:102)
          at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1$$anonfun$apply$25.apply(RDD.scala:875)
          at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsWithIndex$1$$anonfun$apply$25.apply(RDD.scala:875)
          at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:346)
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:310)
          at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:346)
          at org.apache.spark.rdd.RDD$$anonfun$7.apply(RDD.scala:359)
          at org.apache.spark.rdd.RDD$$anonfun$7.apply(RDD.scala:357)
          at org.apache.spark.storage.BlockManager$$anonfun$doPutIterator$1.apply(BlockManager.scala:1182)
          at org.apache.spark.storage.BlockManager$$anonfun$doPutIterator$1.apply(BlockManager.scala:1156)
          at org.apache.spark.storage.BlockManager.doPut(BlockManager.scala:1091)
          at org.apache.spark.storage.BlockManager.doPutIterator(BlockManager.scala:1156)
          at org.apache.spark.storage.BlockManager.getOrElseUpdate(BlockManager.scala:882)
          at org.apache.spark.rdd.RDD.getOrCompute(RDD.scala:357)
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:308)
          at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:346)
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:310)
          at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
          at org.apache.spark.scheduler.Task.run(Task.scala:123)
          at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
          at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
          at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.http.client.HttpResponseException: Server Error
          at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
          at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
          at org.apache.http.client.fluent.Response.returnContent(Response.java:97)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.executeRequest(RemoteHoodieTableFileSystemView.java:179)
          at org.apache.hudi.common.table.view.RemoteHoodieTableFileSystemView.getLatestBaseFile(RemoteHoodieTableFileSystemView.java:489)
          ... 36 more
      [Stage 22:> 

       

       

      writer1 : 20211115074731908

       

      writer2 : 20211115074733457

      writer3: 20211115074735131

       

       

      Attachments

        1. Screen Shot 2021-11-15 at 8.28.25 AM.png
          368 kB
          sivabalan narayanan
        2. Screen Shot 2021-11-15 at 8.28.03 AM.png
          330 kB
          sivabalan narayanan
        3. Screen Shot 2021-11-15 at 8.27.33 AM.png
          360 kB
          sivabalan narayanan
        4. Screen Shot 2021-11-15 at 8.27.11 AM.png
          220 kB
          sivabalan narayanan

        Issue Links

          Activity

            People

              shivnarayan sivabalan narayanan
              shivnarayan sivabalan narayanan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified