Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
[default@foo] set transactions[test][data]='
{"foo":"bar"}';
$ cat /tmp/json
{
"74657374": [["data", "
", 1308209845388000]]
}
$ ./json2sstable -s -c transactions -K foo /tmp/json /tmp/ss-g-1-Data.db
Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
org.codehaus.jackson.JsonParseException: Unexpected character ('f' (code 102)): was expecting comma to separate ARRAY entries
at [Source: /tmp/json2; line: 2, column: 27]
at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:929)
at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632)
at org.codehaus.jackson.impl.JsonParserBase._reportUnexpectedChar(JsonParserBase.java:565)
at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:128)
at org.codehaus.jackson.impl.JsonParserBase.skipChildren(JsonParserBase.java:263)
at org.apache.cassandra.tools.SSTableImport.importSorted(SSTableImport.java:328)
at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:252)
at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:476)
ERROR: Unexpected character ('f' (code 102)): was expecting comma to separate ARRAY entries
at [Source: /tmp/json2; line: 2, column: 27]
http://www.mail-archive.com/user@cassandra.apache.org/msg14257.html