Package alluxio.cli

Class S3ASpecificOperations


  • public final class S3ASpecificOperations
    extends java.lang.Object
    Examples for S3A specific under filesystem operations. This class tests S3A specific operations like streaming upload.
    • Constructor Detail

      • S3ASpecificOperations

        public S3ASpecificOperations​(java.lang.String testDirectory,
                                     alluxio.underfs.UnderFileSystem ufs,
                                     alluxio.conf.InstancedConfiguration configuration)
        Parameters:
        testDirectory - the directory to run tests against
        ufs - the S3A under file system
        configuration - the instance configuration
    • Method Detail

      • createEmptyFileTest

        public void createEmptyFileTest()
                                 throws java.io.IOException
        Test for creating an empty file using streaming upload.
        Throws:
        java.io.IOException
      • createFileLessThanOnePartTest

        public void createFileLessThanOnePartTest()
                                           throws java.io.IOException
        Test for creating a file with data less than one part.
        Throws:
        java.io.IOException
      • createMultipartFileTest

        public void createMultipartFileTest()
                                     throws java.io.IOException
        Test for creating a multipart file.
        Throws:
        java.io.IOException
      • createAndAbortMultipartFileTest

        public void createAndAbortMultipartFileTest()
                                             throws java.io.IOException
        Test for creating and aborting a multipart file.
        Throws:
        java.io.IOException