-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File System settings #61
Comments
Some guidance
|
Thanks, this helps. There is only one bullet I am not sure I have got it right. bullet 2. URIs to access a bucket even in the case of an endpoint would be something like:
The scheme/protocol is going to to be s3 anyway. Are you suggesting we should use s3://https://endpoint.somewhere.com/bucket ? This would probably not be parsed as a URI. |
Can you give an example of an endpoint that you are wanting to process where you need to determine the protocol? |
Does it make more sense to keep endpoint as a separate parameter? For example, configuring an environment variable like this:
Then, just go ahead and use the URI If you needed to use HTTP rather than HTTPS, then that would be configurable in a consistent way with other S3 tooling. I believe this is what @markjschreiber is suggesting. This is similar to AWS CLI where you can set the endpoint separately using a CLI option:
Or Apache Hadoop's S3A connector using a system property:
|
Agree, I think endpoint is separate to the s3 bucket URI |
Ok, I'll go with a separate parameter. |
The name of the property is going to be s3.spi.endpoint |
# Conflicts: # build.gradle # src/main/java/software/amazon/nio/spi/s3/S3BasicFileAttributes.java # src/main/java/software/amazon/nio/spi/s3/S3ClientStore.java # src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java # src/main/java/software/amazon/nio/spi/s3/S3FileSystemProvider.java # src/main/java/software/amazon/nio/spi/s3/S3SeekableByteChannel.java # src/test/java/software/amazon/nio/spi/s3/S3ClientStoreEndpointTest.java # src/test/java/software/amazon/nio/spi/s3/S3ClientStoreTest.java # src/test/java/software/amazon/nio/spi/s3/S3FileSystemEndpointTest.java # src/test/java/software/amazon/nio/spi/s3/S3FileSystemProviderTest.java # src/test/java/software/amazon/nio/spi/s3/S3FileSystemTest.java # src/test/java/software/amazon/nio/spi/s3/S3PathTest.java # src/test/java/software/amazon/nio/spi/s3/S3SeekableByteChannelTest.java # src/test/java/software/amazon/nio/spi/s3/config/S3NioSpiConfigurationTest.java
…fornari/aws-java-nio-spi-for-s3 into awslabs#11-awslabs#30-awslabs#61
…' into awslabs#11-awslabs#30-awslabs#61" This reverts commit 19ae58e, reversing changes made to 45666f0.
…ains the implementation of items awslabs/aws-java-nio-spi-for-s3/awslabs#11-awslabs#30-awslabs#61-awslabs#66
…ains the implementation of items awslabs/aws-java-nio-spi-for-s3/awslabs#11-awslabs#30-awslabs#61-awslabs#66
AS A user
I WANT to pass file system configuration at file system creation (i.e. FileSystems.newFileSystem())
SO THAT I can set the run time behaviour of the file system
NOTES:
@markjschreiber can you please provide feedback on the notes above?
The text was updated successfully, but these errors were encountered: