vamsikarnika opened a new pull request, #12696:
URL: https://github.com/apache/hudi/pull/12696

   ### Change Logs
   
   Timeline server currently caches the hoodie storage which it further uses to 
process all the requests. When reuse timeline server is enabled, same timeline 
server can be used by different streams. If two streams are from two different 
lakes(or buckets) this would fail. 
   
   `{
     "exception": {
       "stacktrace": "java.lang.IllegalArgumentException: Wrong FS 
s3a:\/\/lake1\/\/kwcommunity_default\/hudi_slack_channelmembers\/v1\/.hoodie\/.temp\/20250122111902624
 -expected s3a:\/\/<lake2>l\n\tat 
org.apache.hadoop.fs.s3native.S3xLoginHelper.checkPath(S3xLoginHelper.java:224)\n\tat
 
org.apache.hadoop.fs.s3a.S3AFileSystem.checkPath(S3AFileSystem.java:1155)\n\tat 
org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:666)\n\tat 
org.apache.hadoop.fs.s3a.S3AFileSystem.makeQualified(S3AFileSystem.java:1117)\n\tat
 org.apache.hadoop.fs.s3a.S3AFileSystem.qualify(S3AFileSystem.java:1143)\n\tat 
org.apache.hadoop.fs.s3a.S3AFileSystem.innerGetFileStatus(S3AFileSystem.java:3078)\n\tat
 
org.apache.hadoop.fs.s3a.S3AFileSystem.getFileStatus(S3AFileSystem.java:3053)\n\tat
 org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1760)\n\tat 
org.apache.hadoop.fs.s3a.S3AFileSystem.exists(S3AFileSystem.java:4263)\n\tat 
org.apache.hudi.common.util.MarkerUtils.readTimelineServerBasedMarkersFromFil
 eSystem(MarkerUtils.java:188)\n\tat 
org.apache.hudi.timeline.service.handlers.marker.MarkerDirState.syncMarkersFromFileSystem(MarkerDirState.java:285)\n\tat
 
org.apache.hudi.timeline.service.handlers.marker.MarkerDirState.<init>(MarkerDirState.java:108)\n\tat
 
org.apache.hudi.timeline.service.handlers.MarkerHandler.getMarkerDirState(MarkerHandler.java:305)\n\tat
 
org.apache.hudi.timeline.service.handlers.MarkerHandler.doesMarkerDirExist(MarkerHandler.java:180)\n\tat
 
org.apache.hudi.timeline.service.RequestHandler.lambda$registerMarkerAPI$80(RequestHandler.java:551)\n\tat
 
org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:615)\n\tat
 
io.javalin.core.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:20)\n\tat
 io.javalin.http.JavalinServlet.addHandler$lambda-0(JavalinServlet.kt:96)\n\tat 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43)\n\tat
 
io.javalin.http.JavalinServlet$lifecycle$2$1$1.invoke(JavalinServlet.kt:43)\n\tat
  
io.javalin.http.JavalinServletHandler.executeNextTask(JavalinServletHandler.kt:99)\n\tat
 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$lambda-1(JavalinServletHandler.kt:85)\n\tat
 
java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)\n\tat
 
java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)\n\tat
 
io.javalin.http.JavalinServletHandler.queueNextTaskOrFinish$javalin(JavalinServletHandler.kt:85)\n\tat
 io.javalin.http.JavalinServlet.service(JavalinServlet.kt:89)\n\tat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:590)\n\tat 
io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58)\n\tat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:590)\n\tat 
org.apache.hudi.org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)\n\tat
 
org.apache.hudi.org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)\n\tat
 org.apache.hudi.org.eclipse.jetty.server.handler.ScopedH
 andler.nextHandle(ScopedHandler.java:233)\n\tat 
org.apache.hudi.org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)\n\tat
 
io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:52)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)\n\tat
 
org.apache.hudi.org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 org.apache.hudi.org.eclipse.jetty.server.h
 andler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat 
org.apache.hudi.org.eclipse.jetty.server.Server.handle(Server.java:516)\n\tat 
org.apache.hudi.org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)\n\tat
 
org.apache.hudi.org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\n\tat
 
org.apache.hudi.org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)\n\tat
 
org.apache.hudi.org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\n\tat
 
org.apache.hudi.org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)\n\tat
 
org.apache.hudi.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)\n\tat
 
org.apache.hudi.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatW
 hatYouKill.java:315)\n\tat 
org.apache.hudi.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)\n\tat
 
org.apache.hudi.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)\n\tat
 
org.apache.hudi.org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)\n\tat
 
org.apache.hudi.org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\n\tat
 `
   
   ### Impact
   
   _Describe any public API or user-facing feature change or any performance 
impact._
   
   ### Risk level (write none, low medium or high below)
   
   _If medium or high, explain what verification was done to mitigate the 
risks._
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
     ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to