rajarshisarkar commented on issue #2991:
URL: https://github.com/apache/iceberg/issues/2991#issuecomment-926655371


   I was able to locate the `tmp` files. 
   
   The `tmp` files look something like this by default (here 
`System.getProperty("java.io.tmpdir")` is 
`/mnt1/yarn/usercache/hadoop/appcache/application_1632368478936_0042/container_1632368478936_0042_01_000001/tmp`):
   
   ```
   
/mnt1/yarn/usercache/hadoop/appcache/application_1632368478936_0042/container_1632368478936_0042_01_000001/tmp/s3fileio-2279038237918274355.tmp
   
/mnt1/yarn/usercache/hadoop/appcache/application_1632368478936_0042/container_1632368478936_0042_01_000001/tmp/s3fileio-2279038237918274355.tmp
   
/mnt1/yarn/usercache/hadoop/appcache/application_1632368478936_0042/container_1632368478936_0042_01_000001/tmp/s3fileio-2279038237918274355.tmp
   ```
   
   (or) something like this if `s3fileIoStagingDirectory` is set via 
`s3.staging-dir` (`/mnt/tmp` for this case):
   ```
   /mnt/tmp/s3fileio-6715538145691725671.tmp
   /mnt/tmp/s3fileio-5266666342669697861.tmp
   /mnt/tmp/s3fileio-4592572815837116260.tmp
   ```
   
   Adding a defensive check to ensure we check the existence of the staging 
directory before writing the temp files. With this check I could see the 
executor tasks succeeding in `cluster` deploy mode consistently. PR: #3175 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to