Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cascading fails to return data when es.output.json is enabled. #885

Closed
jbaiera opened this issue Oct 27, 2016 · 1 comment
Closed

Cascading fails to return data when es.output.json is enabled. #885

jbaiera opened this issue Oct 27, 2016 · 1 comment

Comments

@jbaiera
Copy link
Member

jbaiera commented Oct 27, 2016

When EsHadoopScheme receives data from it's configured record readers (hadoop case) or scroll queries (local case) it automatically assumes that it will receive a Map value. When es.output.json is enabled, the record reader implementation switches to be the JsonWritableEsInputRecordReader which returns a Text value, and in the case of local mode enabled, the value returned from the scroll query used is a String value.

jbaiera added a commit to jbaiera/elasticsearch-hadoop that referenced this issue Nov 17, 2016
Added tests to verify functionality.
fixes elastic#885
@jbaiera jbaiera added the v5.0.2 label Nov 17, 2016
jbaiera added a commit that referenced this issue Dec 8, 2016
Added tests to verify functionality.
fixes #885
@jbaiera jbaiera added v5.1.1 and removed v5.0.2 labels Dec 15, 2016
@jbaiera
Copy link
Member Author

jbaiera commented Dec 15, 2016

Fixed in 5.1.1

@jbaiera jbaiera closed this as completed Dec 15, 2016
jbaiera added a commit that referenced this issue May 8, 2017
Added tests to verify functionality.
fixes #885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant