Deprecate s3 file system
This PR is part of the effort to switch to modular file system support by deprecates s3 file system and direct user to use modular file system from tensorflow-io instead. A `TF_ENABLE_LEGACY_FILESYSTEM=1` will allow the usage of legacy hdfs file system the same way as before (a warning will be displayed). Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
b757b8a8db
commit
57047e0c5e
@ -1195,6 +1195,6 @@ Status S3FileSystem::HasAtomicMove(const string& path, bool* has_atomic_move) {
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
REGISTER_FILE_SYSTEM("s3", RetryingS3FileSystem);
|
||||
REGISTER_LEGACY_FILE_SYSTEM("s3", RetryingS3FileSystem);
|
||||
|
||||
} // namespace tensorflow
|
||||
|
Loading…
Reference in New Issue
Block a user