Hi All Please ignore this question . It is solved now . I was using OpenJDK 1.8 with Hadoop 2.4.1 . Looks like this was a known issue which is also resolved on later release of Hadoop .
I ran Hadoop 2.4.1 tests against OpenJDK 1.7 Thanks and Regards, Ashish Kumar From: Ashish Kumar9/India/IBM To: [email protected], [email protected] Date: 09/18/2015 08:04 PM Subject: Unit Test Failure on PPC64LE - Hadoop 2.4.1 Hi , Can anyone suggest the reason for below test failures . Can these Unit test failures be ignored ? If I can ignore , then is there a way I can ignore the tests I am trying to execute these unit tests on RHEL 7.1 PPC64 LE against Hadoop 2.4.1 mvn test -Pnative -Drequire.snappy a) mvn test -Dtest=TestSharedFileDescriptorFactory Running org.apache.hadoop.io.nativeio.TestSharedFileDescriptorFactory Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.797 sec <<< FAILURE! - in org.apache.hadoop.io.nativeio.TestSharedFileDescriptorFactory testDirectoryFallbacks(org.apache.hadoop.io.nativeio.TestSharedFileDescriptorFactory) Time elapsed: 0.087 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.fail(Assert.java:100) at org.apache.hadoop.io.nativeio.TestSharedFileDescriptorFactory.testDirectoryFallbacks(TestSharedFileDescriptorFactory.java:102) Results : Failed tests: TestSharedFileDescriptorFactory.testDirectoryFallbacks:102 null Tests run: 3, Failures: 1, Errors: 0, Skipped: 0 b) mvn test -Dtest=TestUTF8 Running org.apache.hadoop.io.TestUTF8 Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.693 sec <<< FAILURE! - in org.apache.hadoop.io.TestUTF8 testGetBytes(org.apache.hadoop.io.TestUTF8) Time elapsed: 0.002 sec <<< FAILURE! junit.framework.ComparisonFailure: expected:<\u487d\u8928\u9f6c[?\u8cbf?]\ud08a\u2751\u53cc\ud006\uf594\u185e\u6ab4\u577b\u48e2\u2e40\u41cd\u65b0\ud325\u20f3\u4533\ua6fd\u5505\u57e1...> but was:<\u487d\u8928\u9f6c[\ufffd\u8cbf\ufffd]\ud08a\u2751\u53cc\ud006\uf594\u185e\u6ab4\u577b\u48e2\u2e40\u41cd\u65b0\ud325\u20f3\u4533\ua6fd\u5505\u57e1...> at junit.framework.Assert.assertEquals(Assert.java:85) at junit.framework.Assert.assertEquals(Assert.java:91) at org.apache.hadoop.io.TestUTF8.testGetBytes(TestUTF8.java:58) testIO(org.apache.hadoop.io.TestUTF8) Time elapsed: 0.063 sec <<< FAILURE! junit.framework.ComparisonFailure: expected:<[?]\ueb7b\uec58\u442e\u97b1\uedc0\uea0e\ufcd4\u1818\ubfa9·\uc080\u4a87\u154e\u4150\uc191\uff3e\uc902\u95a6\ub52d...> but was:<[\ufffd]\ueb7b\uec58\u442e\u97b1\uedc0\uea0e\ufcd4\u1818\ubfa9·\uc080\u4a87\u154e\u4150\uc191\uff3e\uc902\u95a6\ub52d...> at junit.framework.Assert.assertEquals(Assert.java:85) at junit.framework.Assert.assertEquals(Assert.java:91) at org.apache.hadoop.io.TestUTF8.testIO(TestUTF8.java:86) Results : Failed tests: TestUTF8.testGetBytes:58 expected:<\u487d\u8928\u9f6c[?\u8cbf?]\ud08a\u2751\u53cc\ud006\uf594\u185e\u6ab4\u577b\u48e2\u2e40\u41cd\u65b0\ud325\u20f3\u4533\ua6fd\u5505\u57e1...> but was:<\u487d\u8928\u9f6c[\ufffd\u8cbf\ufffd]\ud08a\u2751\u53cc\ud006\uf594\u185e\u6ab4\u577b\u48e2\u2e40\u41cd\u65b0\ud325\u20f3\u4533\ua6fd\u5505\u57e1...> TestUTF8.testIO:86 expected:<[?]\ueb7b\uec58\u442e\u97b1\uedc0\uea0e\ufcd4\u1818\ubfa9·\uc080\u4a87\u154e\u4150\uc191\uff3e\uc902\u95a6\ub52d...> but was:<[\ufffd]\ueb7b\uec58\u442e\u97b1\uedc0\uea0e\ufcd4\u1818\ubfa9·\uc080\u4a87\u154e\u4150\uc191\uff3e\uc902\u95a6\ub52d...> Tests run: 8, Failures: 2, Errors: 0, Skipped: 0 Thanks and Regards, Ashish Kumar
