java.io.IOException: Failed to create /tachyon/data/default_tests_files

JIRA | cheng chang | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    1. Tachyon is in single master mode with 5 workers, 2. Tachyon is in fault tolerant mode with 3 masters and 5 workers, in both scenario, bin/tachyon runTests fail: {code:java} 2015-10-06 12:05:41,274 WARN RestStorageService (RestStorageService.java:performRequest) - Error Response: HEAD '/_%24folder%24' -- ResponseCode: 404, ResponseStatus: Not Found, Request Headers: [Content-Type: , Date: Tue, 06 Oct 2015 12:05:41 GMT, Authorization: AWS AKIAIPKABVYWN674ZO5A:XVWGokOpA6Dk+2AhDhliuG2cBKU=, User-Agent: JetS3t/0.8.1 (Linux/3.14.35-28.38.amzn1.x86_64; amd64; en; JVM 1.7.0_85), Host: cc-s3-ft-test.s3.amazonaws.com], Response Headers: [x-amz-request-id: 95532DEC3E1E8E59, x-amz-id-2: dXDbu0n3NJ2cO0WnlxT2ofG3uI5WNKghSw/Lg7sJao3C4QeVDfOkC+OAF1XgD6tWGpqZiA+en+s=, Content-Type: application/xml, Transfer-Encoding: chunked, Date: Tue, 06 Oct 2015 12:05:40 GMT, Server: AmazonS3] 2015-10-06 12:05:41,275 WARN (S3UnderFileSystem.java:stripPrefixIfPresent) - Attempted to strip key with invalid prefix: 2015-10-06 12:05:41,292 WARN RestStorageService (RestStorageService.java:performRequest) - Error Response: HEAD '/_%24folder%24' -- ResponseCode: 404, ResponseStatus: Not Found, Request Headers: [Content-Type: , Date: Tue, 06 Oct 2015 12:05:41 GMT, Authorization: AWS AKIAIPKABVYWN674ZO5A:XVWGokOpA6Dk+2AhDhliuG2cBKU=, User-Agent: JetS3t/0.8.1 (Linux/3.14.35-28.38.amzn1.x86_64; amd64; en; JVM 1.7.0_85), Host: cc-s3-ft-test.s3.amazonaws.com], Response Headers: [x-amz-request-id: 78AC44A6281B9FFC, x-amz-id-2: bXI846N28hggvpShIsBXSiGv73Fu6sdQ24Ad3RHO5tCPxR0CJf9fRcx8aFxr/H4Mgu2pgUaueIs=, Content-Type: application/xml, Transfer-Encoding: chunked, Date: Tue, 06 Oct 2015 12:05:40 GMT, Server: AmazonS3] 2015-10-06 12:05:41,294 WARN (S3UnderFileSystem.java:stripPrefixIfPresent) - Attempted to strip key with invalid prefix: 2015-10-06 12:05:41,311 ERROR (S3UnderFileSystem.java:mkdirs) - Cannot create directory because it is already a file. 2015-10-06 12:05:41,312 ERROR (Utils.java:runExample) - Exception running test: tachyon.examples.BasicOperations@23e28c99 java.io.IOException: Failed to create /tachyon/data/default_tests_files at tachyon.client.file.FileOutStream.<init>(FileOutStream.java:95) at tachyon.client.file.TachyonFileSystem.getOutStream(TachyonFileSystem.java:175) at tachyon.client.TachyonFile.getOutStream(TachyonFile.java:284) at tachyon.examples.BasicOperations.writeFile(BasicOperations.java:81) at tachyon.examples.BasicOperations.call(BasicOperations.java:57) at tachyon.examples.BasicOperations.call(BasicOperations.java:39) at tachyon.examples.Utils.runExample(Utils.java:102) at tachyon.examples.BasicOperations.main(BasicOperations.java:115) Failed the test! {code}

    JIRA | 2 years ago | cheng chang
    java.io.IOException: Failed to create /tachyon/data/default_tests_files
  2. 0

    1. Tachyon is in single master mode with 5 workers, 2. Tachyon is in fault tolerant mode with 3 masters and 5 workers, in both scenario, bin/tachyon runTests fail: {code:java} 2015-10-06 12:05:41,274 WARN RestStorageService (RestStorageService.java:performRequest) - Error Response: HEAD '/_%24folder%24' -- ResponseCode: 404, ResponseStatus: Not Found, Request Headers: [Content-Type: , Date: Tue, 06 Oct 2015 12:05:41 GMT, Authorization: AWS AKIAIPKABVYWN674ZO5A:XVWGokOpA6Dk+2AhDhliuG2cBKU=, User-Agent: JetS3t/0.8.1 (Linux/3.14.35-28.38.amzn1.x86_64; amd64; en; JVM 1.7.0_85), Host: cc-s3-ft-test.s3.amazonaws.com], Response Headers: [x-amz-request-id: 95532DEC3E1E8E59, x-amz-id-2: dXDbu0n3NJ2cO0WnlxT2ofG3uI5WNKghSw/Lg7sJao3C4QeVDfOkC+OAF1XgD6tWGpqZiA+en+s=, Content-Type: application/xml, Transfer-Encoding: chunked, Date: Tue, 06 Oct 2015 12:05:40 GMT, Server: AmazonS3] 2015-10-06 12:05:41,275 WARN (S3UnderFileSystem.java:stripPrefixIfPresent) - Attempted to strip key with invalid prefix: 2015-10-06 12:05:41,292 WARN RestStorageService (RestStorageService.java:performRequest) - Error Response: HEAD '/_%24folder%24' -- ResponseCode: 404, ResponseStatus: Not Found, Request Headers: [Content-Type: , Date: Tue, 06 Oct 2015 12:05:41 GMT, Authorization: AWS AKIAIPKABVYWN674ZO5A:XVWGokOpA6Dk+2AhDhliuG2cBKU=, User-Agent: JetS3t/0.8.1 (Linux/3.14.35-28.38.amzn1.x86_64; amd64; en; JVM 1.7.0_85), Host: cc-s3-ft-test.s3.amazonaws.com], Response Headers: [x-amz-request-id: 78AC44A6281B9FFC, x-amz-id-2: bXI846N28hggvpShIsBXSiGv73Fu6sdQ24Ad3RHO5tCPxR0CJf9fRcx8aFxr/H4Mgu2pgUaueIs=, Content-Type: application/xml, Transfer-Encoding: chunked, Date: Tue, 06 Oct 2015 12:05:40 GMT, Server: AmazonS3] 2015-10-06 12:05:41,294 WARN (S3UnderFileSystem.java:stripPrefixIfPresent) - Attempted to strip key with invalid prefix: 2015-10-06 12:05:41,311 ERROR (S3UnderFileSystem.java:mkdirs) - Cannot create directory because it is already a file. 2015-10-06 12:05:41,312 ERROR (Utils.java:runExample) - Exception running test: tachyon.examples.BasicOperations@23e28c99 java.io.IOException: Failed to create /tachyon/data/default_tests_files at tachyon.client.file.FileOutStream.<init>(FileOutStream.java:95) at tachyon.client.file.TachyonFileSystem.getOutStream(TachyonFileSystem.java:175) at tachyon.client.TachyonFile.getOutStream(TachyonFile.java:284) at tachyon.examples.BasicOperations.writeFile(BasicOperations.java:81) at tachyon.examples.BasicOperations.call(BasicOperations.java:57) at tachyon.examples.BasicOperations.call(BasicOperations.java:39) at tachyon.examples.Utils.runExample(Utils.java:102) at tachyon.examples.BasicOperations.main(BasicOperations.java:115) Failed the test! {code}

    JIRA | 2 years ago | cheng chang
    java.io.IOException: Failed to create /tachyon/data/default_tests_files

    Root Cause Analysis

    1. java.io.IOException

      Failed to create /tachyon/data/default_tests_files

      at tachyon.client.file.FileOutStream.<init>()
    2. tachyon.client.file
      TachyonFileSystem.getOutStream
      1. tachyon.client.file.FileOutStream.<init>(FileOutStream.java:95)
      2. tachyon.client.file.TachyonFileSystem.getOutStream(TachyonFileSystem.java:175)
      2 frames
    3. Tachyon Project Core
      BasicOperations.main
      1. tachyon.client.TachyonFile.getOutStream(TachyonFile.java:284)
      2. tachyon.examples.BasicOperations.writeFile(BasicOperations.java:81)
      3. tachyon.examples.BasicOperations.call(BasicOperations.java:57)
      4. tachyon.examples.BasicOperations.call(BasicOperations.java:39)
      5. tachyon.examples.Utils.runExample(Utils.java:102)
      6. tachyon.examples.BasicOperations.main(BasicOperations.java:115)
      6 frames