Details
Description
TestScannerModel fails if jackson 1.9.13 is used. (Hadoop 2.5 now uses that version, see HADOOP-10104):
Failed tests: testToJSON(org.apache.hadoop.hbase.rest.model.TestScannerModel): expected:<{"batch":100,"caching":1000,"cacheBlocks":false,"endRow":"enp5eng=","endTime":1245393318192,"maxVersions":2147483647,"startRow":"YWJyYWNhZGFicmE=","startTime":1245219839331,"column":["Y29sdW1uMQ==","Y29sdW1uMjpmb28="],"labels":["private","public"]}> but was:<{"startRow":"YWJyYWNhZGFicmE=","endRow":"enp5eng=","batch":100,"startTime":1245219839331,"endTime":1245393318192,"maxVersions":2147483647,"caching":1000,"cacheBlocks":false,"column":["Y29sdW1uMQ==","Y29sdW1uMjpmb28="],"label":["private","public"]}>
The problem is the annotation used for the labels element which is 'label' instead of 'labels'.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-10104 Update jackson to 1.9.13
- Closed