outerStruct.mStruct = new InnerStruct(180018, 190019l);
BytesRefArrayWritable braw = (BytesRefArrayWritable) serde.serialize(outerStruct, oi);
ObjectInspector out_oi = serde.getObjectInspector();
Object out_o = serde.deserialize(braw);
if (0 != ObjectInspectorUtils.compare(outerStruct, oi, out_o, out_oi, new SimpleMapEqualComparer())) {
System.out.println("expected = "
+ SerDeUtils.getJSONString(outerStruct, oi));
System.out.println("actual = "
+ SerDeUtils.getJSONString(out_o, out_oi));
fail("Deserialized object does not compare");