By using AWS re:Post, you agree to the Terms of Use
/Amazon FSx for Lustre/

Questions tagged with Amazon FSx for Lustre

Sort by most recent
  • 1
  • 90 / page

Browse through the questions and answers listed below or filter and sort to narrow down your results.

What value should I set for directory_path for the Amazon SageMaker SDK with FSx as data source?

What value should I set for the **directory_path** parameter in **FileSystemInput** for the Amazon SageMaker SDK? Here is some information about my Amazon FSx for Lustre file system: - My FSx ID is `fs-0684xxxxxxxxxxx`. - My FSx has the mount name `lhskdbmv`. - The FSx maps to an Amazon S3 bucket with files (without extra prefixes in their keys) My attempts to describe the job and the results are the following: **Attempt 1:** fs = FileSystemInput( file_system_id='fs-0684xxxxxxxxxxx', file_system_type='FSxLustre', directory_path='lhskdbmv', file_system_access_mode='ro') **Result:** `estimator.fit(fs)` returns `ClientError: An error occurred (ValidationException) when calling the CreateTrainingJob operation: FileSystem DirectoryPath 'lhskdbmv' for channel 'training' is not absolute or normalized. Please ensure you don't have a trailing "/", and/or "..", ".", "//" in the path.` **Attempt 2:** fs = FileSystemInput( file_system_id='fs-0684xxxxxxxxxxx', file_system_type='FSxLustre', directory_path='/', file_system_access_mode='ro') **Result:** `ClientError: An error occurred (ValidationException) when calling the CreateTrainingJob operation: The directory path for FSx Lustre file system fs-068406952bf758bac is invalid. The directory path must begin with mount name of the file system.` **Attempt 3:** fs = FileSystemInput( file_system_id='fs-0684xxxxxxxxxxx', file_system_type='FSxLustre', directory_path='fsx', file_system_access_mode='ro') **Result:** ClientError: An error occurred (ValidationException) when calling the CreateTrainingJob operation: FileSystem DirectoryPath 'fsx' for channel 'training' is not absolute or normalized. Please ensure you don't have a trailing "/", and/or "..", ".", "//" in the path.
1
answers
0
votes
2
views
EXPERT
Olivier_CR
asked a year ago
  • 1
  • 90 / page