Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Asset path length on linux limited to 260 chars (~144 usable) #29

Open
davidkydd opened this issue Nov 22, 2017 · 2 comments
Open

Asset path length on linux limited to 260 chars (~144 usable) #29

davidkydd opened this issue Nov 22, 2017 · 2 comments

Comments

@davidkydd
Copy link
Contributor

davidkydd commented Nov 22, 2017

There is a limitation in the current version of AzCopy (6.0.0) which we use for downloading of assets in the job prep task, in which paths are limited to 260 chars.

Due to the path prefix which batch prepends to assets as they are downloaded to the rendering nodes, the available max path length for assets when they are added to a job / scene is significantly shorter than this at ~144 characters.

The error is surfaced in the stderr of the jobprep task associated with a job, which will contain the error message "The specified path, file name, or both are too long for file"

The AzCopy team are aware of this and are increasing the limit up to 1024 characters in their next release, at which point the link used in the jobprep task to download azcopy (aka.ms/downloadazcopyprlinux) should automatically redirect to the new version

@psyrus
Copy link

psyrus commented Jan 16, 2018

Azcopy is now at v7.1.0, can this issue be considered solved at this point?

@annatisch
Copy link
Member

No quite - while azcopy has been updated - we have not yet removed the "safety net" logic from the plugin that prevents paths getting too long on the servers. So even though azcopy now supports long paths, it's not yet being exercised.
Once long paths have been tested to be fully supported on both the Windows and Linux images, we'll send out a new release at which time we can close this off.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants