MyTestInnerStruct is = randField > 7 ? null : new MyTestInnerStruct(r.nextInt(5)-2, r.nextInt(5)-2);
List<Integer> li = randField > 8 ? null: TestBinarySortableSerDe.getRandIntegerArray(r);
MyTestClass input = new MyTestClass(b,s,n,l,f,d,st,is,li);
BytesWritable bw = (BytesWritable) serde1.serialize(input, rowOI1);
Object output = serde2.deserialize(bw);
if (0 != compareDiffSizedStructs(input, rowOI1, output, serdeOI2)) {
System.out.println("structs = " + SerDeUtils.getJSONString(input, rowOI1));
System.out.println("deserialized = " + SerDeUtils.getJSONString(output, serdeOI2));
System.out.println("serialized = " + TestBinarySortableSerDe.hexString(bw));