编译卡桑德拉测试用例失败
compiling cassandra test cases failing
我正在尝试从源代码构建 cassandra 二进制文件,当我尝试编译单元测试用例时,其中一个失败了。我正在用 Java 8 构建 cassandra-2.1.4。
这些是我 运行:
的命令
ant -Dfile.encoding="UTF-8"
ant test
ant artifacts
失败详情:
[junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest
[junit] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.903 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] WARN 17:48:26 No host ID found, created eeaaa375-22f0-4a4c-845a-31decd240218 (Note: This should happen exactly once per node).
[junit] WARN 17:48:26 No host ID found, created eeaaa375-22f0-4a4c-845a-31decd240218 (Note: This should happen exactly once per node).
[junit] Importing 1 keys...
[junit] 1 keys imported successfully.
[junit] ------------- ---------------- ---------------
[junit] Testcase: testExportColumnsWithMetadata(org.apache.cassandra.tools.SSTableExportTest): FAILED
[junit] unexpected serialization format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}>
[junit] junit.framework.AssertionFailedError: unexpected serialization format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}>
[junit] at org.apache.cassandra.tools.SSTableExportTest.testExportColumnsWithMetadata(SSTableExportTest.java:298)
[junit]
[junit]
[junit] Test org.apache.cassandra.tools.SSTableExportTest FAILED
[junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.759 sec
这是一个已知问题,已在 Apache Cassandra 的主干(将成为 2.2)分支中修复。 https://issues.apache.org/jira/browse/CASSANDRA-9065
我正在尝试从源代码构建 cassandra 二进制文件,当我尝试编译单元测试用例时,其中一个失败了。我正在用 Java 8 构建 cassandra-2.1.4。 这些是我 运行:
的命令ant -Dfile.encoding="UTF-8"
ant test
ant artifacts
失败详情:
[junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest
[junit] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.903 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] WARN 17:48:26 No host ID found, created eeaaa375-22f0-4a4c-845a-31decd240218 (Note: This should happen exactly once per node).
[junit] WARN 17:48:26 No host ID found, created eeaaa375-22f0-4a4c-845a-31decd240218 (Note: This should happen exactly once per node).
[junit] Importing 1 keys...
[junit] 1 keys imported successfully.
[junit] ------------- ---------------- ---------------
[junit] Testcase: testExportColumnsWithMetadata(org.apache.cassandra.tools.SSTableExportTest): FAILED
[junit] unexpected serialization format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}>
[junit] junit.framework.AssertionFailedError: unexpected serialization format for topLevelDeletion expected:<{"[markedForDeleteAt":0,"localDeletionTime]":0}> but was:<{"[localDeletionTime":0,"markedForDeleteAt]":0}>
[junit] at org.apache.cassandra.tools.SSTableExportTest.testExportColumnsWithMetadata(SSTableExportTest.java:298)
[junit]
[junit]
[junit] Test org.apache.cassandra.tools.SSTableExportTest FAILED
[junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.759 sec
这是一个已知问题,已在 Apache Cassandra 的主干(将成为 2.2)分支中修复。 https://issues.apache.org/jira/browse/CASSANDRA-9065