Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.94.11
-
None
-
None
Description
When post following json data to rest server, it return 200, but the value is null in HBase
{"Row": { "key":"cjI=", "Cell": {"$":"ZGF0YTE=", "column":"ZjE6YzI="}}}
From rest server log, we found the length of value is null after the server paste the json to RowModel object
14/02/26 17:52:14 DEBUG rest.RowResource: PUT {"totalColumns":1,"families":{"f1":[{"timestamp":9223372036854775807,"qualifier":"c2","vlen":0}]},"row":"r2"}
When the order is that "column" before "$", it works fine.
{"Row": { "key":"cjI=", "Cell": {"column":"ZjE6YzI=", "$":"ZGF0YTE=" }}}
DIfferent json libs may have different order of this two elements even if "column" is put before "$".