Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.0.0-beta1, 2.9.1
    • Component/s: fs, fs/oss
    • Labels:
      None

      Description

      testOverwriteNonEmptyDirectory(org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractCreate)  Time elapsed: 1.146 sec  <<< ERROR!
      java.io.IOException: createNonRecursive unsupported for this filesystem class org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem
      	at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1304)
      	at org.apache.hadoop.fs.FileSystem$FileSystemDataOutputStreamBuilder.build(FileSystem.java:4163)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.writeDataset(ContractTestUtils.java:179)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteNonEmptyDirectory(AbstractContractCreateTest.java:178)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteNonEmptyDirectory(AbstractContractCreateTest.java:208)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      testOverwriteEmptyDirectory(org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractCreate)  Time elapsed: 0.145 sec  <<< ERROR!
      java.io.IOException: createNonRecursive unsupported for this filesystem class org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem
      	at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1304)
      	at org.apache.hadoop.fs.FileSystem$FileSystemDataOutputStreamBuilder.build(FileSystem.java:4163)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.writeDataset(ContractTestUtils.java:179)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteEmptyDirectory(AbstractContractCreateTest.java:133)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteEmptyDirectory(AbstractContractCreateTest.java:155)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      testCreateFileOverExistingFileNoOverwrite(org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractCreate)  Time elapsed: 0.147 sec  <<< ERROR!
      java.io.IOException: createNonRecursive unsupported for this filesystem class org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem
      	at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1304)
      	at org.apache.hadoop.fs.FileSystem$FileSystemDataOutputStreamBuilder.build(FileSystem.java:4163)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.writeDataset(ContractTestUtils.java:179)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testCreateFileOverExistingFileNoOverwrite(AbstractContractCreateTest.java:79)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testCreateFileOverExistingFileNoOverwrite(AbstractContractCreateTest.java:95)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      testOverwriteExistingFile(org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractCreate)  Time elapsed: 0.14 sec  <<< ERROR!
      java.io.IOException: createNonRecursive unsupported for this filesystem class org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem
      	at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1304)
      	at org.apache.hadoop.fs.FileSystem$FileSystemDataOutputStreamBuilder.build(FileSystem.java:4163)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.writeDataset(ContractTestUtils.java:179)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteExistingFile(AbstractContractCreateTest.java:103)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testOverwriteExistingFile(AbstractContractCreateTest.java:121)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      testCreateNewFile(org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractCreate)  Time elapsed: 0.069 sec  <<< ERROR!
      java.io.IOException: createNonRecursive unsupported for this filesystem class org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem
      	at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1304)
      	at org.apache.hadoop.fs.FileSystem$FileSystemDataOutputStreamBuilder.build(FileSystem.java:4163)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.writeDataset(ContractTestUtils.java:179)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testCreateNewFile(AbstractContractCreateTest.java:59)
      	at org.apache.hadoop.fs.contract.AbstractContractCreateTest.testCreateNewFile(AbstractContractCreateTest.java:66)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      Running org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractDelete
      Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.428 sec - in org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractDelete
      Running org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractSeek
      Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.79 sec - in org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractSeek
      Running org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractMkdir
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.04 sec - in org.apache.hadoop.fs.aliyun.oss.contract.TestAliyunOSSContractMkdir
      Running org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSInputStream
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.013 sec - in org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSInputStream
      Running org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSOutputStream
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.833 sec - in org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSOutputStream
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                uncleGen Genmao Yu
                Reporter:
                uncleGen Genmao Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: