Ask Your Question

Preview of JSON data shows only meta data

asked 2018-02-21 08:33:36 -0500

snoofy gravatar image

updated 2018-02-21 15:19:19 -0500

metadaddy gravatar image

When I am following the tutorial on and trying to preview the JSON file I just get the metadata not the recods as in the example

Event Record1 (new-file) : MAP filepath : "STRING /mapr/mapr6/streamsets/streamsets-datacollector-"

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-21 15:18:51 -0500

metadaddy gravatar image

It looks like you have selected Whole File data format rather than JSON. In the Directory origin, on the Data Format, change the format to JSON, and ensure that JSON Content is set to JSON array of objects. You'll also need to set the buffer limits as described in the tutorial.

It also looks like you might be using the citylots.json file unchanged. You need to edit it slightly so that SDC can more easily ingest it - see the section Download the Source JSON Data.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2018-02-21 08:33:36 -0500

Seen: 57 times

Last updated: Feb 21 '18