Project

General

Profile

Actions

Bug #1656

closed

Hadoop client unit test failures

Added by Noah Watkins over 12 years ago. Updated about 5 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Hadoop/Java
Labels (FS):
Java/Hadoop
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The Ceph Hadoop File System passes nearly all its tests except a few. I've included the test log below that shows the failed tests. I do not have time at the moment to work on fixing these but wanted to record them some where.

Testcase: testWorkingDirectory took 0.282 sec
Testcase: testMkdirs took 0.048 sec
Testcase: testMkdirsFailsForSubdirectoryOfExistingFile took 0.043 sec
        FAILED
Should throw IOException.
junit.framework.AssertionFailedError: Should throw IOException.
        at org.apache.hadoop.fs.FileSystemContractBaseTest.testMkdirsFailsForSubdirectoryOfExistingFile(FileSystemContractBaseTest.java:129)

Testcase: testGetFileStatusThrowsExceptionForNonExistentFile took 0.023 sec
Testcase: testListStatusReturnsNullForNonExistentFile took 0.02 sec
        Caused an ERROR
null
java.io.FileNotFoundException
        at org.apache.hadoop.fs.ceph.CephFileSystem.listStatus(CephFileSystem.java:462)
        at org.apache.hadoop.fs.FileSystemContractBaseTest.testListStatusReturnsNullForNonExistentFile(FileSystemContractBaseTest.java:157)

Testcase: testListStatus took 0.045 sec
Testcase: testWriteReadAndDeleteEmptyFile took 0.036 sec
Testcase: testWriteReadAndDeleteHalfABlock took 0.038 sec
Testcase: testWriteReadAndDeleteOneBlock took 0.04 sec
Testcase: testWriteReadAndDeleteOneAndAHalfBlocks took 0.038 sec
Testcase: testWriteReadAndDeleteTwoBlocks took 0.045 sec
Testcase: testOverwrite took 0.035 sec
Testcase: testWriteInNonExistentDirectory took 0.025 sec
Testcase: testDeleteNonExistentFile took 0.014 sec
Testcase: testDeleteRecursively took 0.019 sec
Testcase: testDeleteEmptyDirectory took 0.014 sec
Testcase: testRenameNonExistentPath took 0.012 sec
Testcase: testRenameFileMoveToNonExistentDirectory took 0.015 sec
Testcase: testRenameFileMoveToExistingDirectory took 0.014 sec
Testcase: testRenameFileAsExistingFile took 0.019 sec
Testcase: testRenameFileAsExistingDirectory took 0.015 sec
Testcase: testRenameDirectoryMoveToNonExistentDirectory took 0.011 sec
Testcase: testRenameDirectoryMoveToExistingDirectory took 0.02 sec
Testcase: testRenameDirectoryAsExistingFile took 0.014 sec
Testcase: testRenameDirectoryAsExistingDirectory took 0.018 sec
Testcase: testInputStreamClosedTwice took 0.017 sec
Testcase: testOutputStreamClosedTwice took 0.012 sec
Actions

Also available in: Atom PDF