michaeljmarshall commented on pull request #13376:
URL: https://github.com/apache/pulsar/pull/13376#issuecomment-997073037


   The Tiered FileSystem test failed because the broker couldn't write to the 
location. Since it is unrealistic for brokers to persist to a local file 
system, I am going to update the test to write to the `/pulsar/data` directory. 
In practice, even if the broker were writing to the local file system, the file 
system owner would just need to update the host's file system permissions. 
   
   ```
   2021-12-17T17:22:31,911+0000 [offloader-OrderedScheduler-0-0] WARN  
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - 
[offload-test-deletion-lag-tayt/ns1/persistent/topic1] Exception occurred for 
ledgerId 2 timestamp 1639761751911 during offload
   java.util.concurrent.CompletionException: java.io.IOException: Mkdirs failed 
to create directory 
offload-test-deletion-lag-tayt/ns1/persistent/topic1/2-97ea8cf8-c5d4-4296-a42a-a09944c49b4f
        at 
java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:367) 
~[?:?]
        at 
java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:376)
 ~[?:?]
        at 
java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:1019)
 ~[?:?]
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) 
[?:?]
        at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
 [?:?]
        at 
org.apache.bookkeeper.mledger.offload.filesystem.impl.FileSystemManagedLedgerOffloader$LedgerReader.run(FileSystemManagedLedgerOffloader.java:220)
 [sdEcYt3w0SKH4TJGsfGbrg/:?]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
 [com.google.guava-guava-30.1-jre.jar:?]
        at 
com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
 [com.google.guava-guava-30.1-jre.jar:?]
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
 [com.google.guava-guava-30.1-jre.jar:?]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 [?:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-common-4.1.72.Final.jar:4.1.72.Final]
        at java.lang.Thread.run(Thread.java:829) [?:?]
   Caused by: java.io.IOException: Mkdirs failed to create directory 
offload-test-deletion-lag-tayt/ns1/persistent/topic1/2-97ea8cf8-c5d4-4296-a42a-a09944c49b4f
        at org.apache.hadoop.io.MapFile$Writer.<init>(MapFile.java:269) ~[?:?]
        at 
org.apache.bookkeeper.mledger.offload.filesystem.impl.FileSystemManagedLedgerOffloader$LedgerReader.run(FileSystemManagedLedgerOffloader.java:187)
 ~[?:?]
        ... 11 more
   ```


-- 
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