Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Importing the testdata gives warnings and import fails #16

Closed
peetkes opened this issue Aug 18, 2014 · 2 comments
Closed

Importing the testdata gives warnings and import fails #16

peetkes opened this issue Aug 18, 2014 · 2 comments
Labels
Milestone

Comments

@peetkes
Copy link

peetkes commented Aug 18, 2014

When I tried importing the testdata. I got an invalid argument warning and the files are not imported into the database:
Warning is:
14/08/18 11:47:59 WARN mapreduce.ContentWriter: Invalid argument (json:INVALIDARG):

@grtjn
Copy link
Contributor

grtjn commented Aug 18, 2014

The import doesn't recognize the document type by extension, and falls back to binary, where it should read the JSON documents as text. Solution is to add -document_type text..

@dmcassel
Copy link
Contributor

Thanks grtjn; can you do a pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants