Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCaused by: java.nio.file.DirectoryNotEmptyException: /basedir/target/jib-cache/tmp/3227117988474356011 #2318
Comments
|
Thanks @chanseokoh and @briandealwis for responding immediately. Here are the details: After pointing the cache directory to different path using -Djib.applicationCache the command completed successfully. Thanks to both of you for your timely help. |
|
Thanks. I guess Another option would be to just copy out the project source into another filesystem. |
|
Yes it's a source central repo mounted on fuse.While raising issue I
replaced original root path with /basedir as I don't want to expose
original path in GitHub. Since it's more file system specific issue, as you
mentioned improving error message may be helpful
Thanks,
Prathap
…On Mon, Mar 9, 2020, 10:48 AM Chanseok Oh ***@***.***> wrote:
Thanks. I guess fuse.srcfsd is referring to FUSE
<https://en.wikipedia.org/wiki/Filesystem_in_Userspace>. I don't know
anything about FUSE, but I think the basedir directory is like a
(semi-read only?) central source repo in your organization specially
mounted via FUSE. It may be that moving (or deleting) files and directories
under /basedir is not really supported? Is this true? If that's the case,
there's nothing really Jib can do. (We could improve the error message
though.) When using -Djib.applicationCache, keep in mind you need to use
the same directory for your project to benefit the cache. (Different Jib
projects can you different directories.)
Another option would be to just copy out the project source into another
filesystem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2318?email_source=notifications&email_token=ABXSGW4MQFXYOTLJC3IU6G3RGU2WPA5CNFSM4LEKAQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOIJZEQ#issuecomment-596679826>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXSGW6REE2O7VWN4WIKAG3RGU2WPANCNFSM4LEKAQYA>
.
|
Reported on the jib-users Google group.
Error while caching an application layer. It was trying to atomically move (rename) the directory
.../tmp/3227117988474356011to.../layers/<some sha256 hash>. It may be that atomic move is not supported on the filesystem. Interestingly, it is a Unix filesystem.Even if atomic move is not supported, it's not clear why it failed to delete the directory after copying.
I followed up on the Google group thread and asked a few things.