Liu Shaohui created KYLIN-4109: ---------------------------------- Summary: CubeHFileMapperTest failed after commit: f4d2405f6aa978bbc3153c9ca9fa339b9d7e6c30 Key: KYLIN-4109 URL: https://issues.apache.org/jira/browse/KYLIN-4109 Project: Kylin Issue Type: Bug Reporter: Liu Shaohui
CubeHFileMapperTest failed in 2.5.x-hadoop3.1 for following changes {code:java} - assertEquals("cf1", new String(p1.getSecond().getFamily(), StandardCharsets.UTF_8)); - assertEquals("usd_amt", new String(p1.getSecond().getQualifier(), StandardCharsets.UTF_8)); - assertEquals("35.43", new String(p1.getSecond().getValue(), StandardCharsets.UTF_8)); + assertEquals("cf1", new String(copy(p1.getSecond()))); + assertEquals("usd_amt", new String(copy(p1.getSecond()))); + assertEquals("35.43", new String(copy(p1.getSecond()))); assertEquals(key, p2.getFirst()); - assertEquals("cf1", new String(p2.getSecond().getFamily(), StandardCharsets.UTF_8)); - assertEquals("item_count", new String(p2.getSecond().getQualifier(), StandardCharsets.UTF_8)); - assertEquals("2", new String(p2.getSecond().getValue(), StandardCharsets.UTF_8)); + assertEquals("cf1", new String(copy(p2.getSecond()))); + assertEquals("item_count", new String(copy(p2.getSecond()))); + assertEquals("2", new String(copy(p2.getSecond()))); {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)