Coder Social home page Coder Social logo

Comments (4)

costin avatar costin commented on September 23, 2024

What's your Hive/Hadoop environment (versions, OS, etc...)?

from elasticsearch-hadoop.

marcelopaesrech avatar marcelopaesrech commented on September 23, 2024

Now I am using Mac OS, with Hadoop 1.2.0,Hive 0.11 and ES 0.90.2. I tried with Hadoop 0.23 as well, but I caught the same problem.

I tried in linux too with a cluster and the same error appeared.

from elasticsearch-hadoop.

marcelopaesrech avatar marcelopaesrech commented on September 23, 2024

The ESSerDE just have a parser implementation to STRUCT and ARRAY. When values like String come from ES, they type is Text. So when Hive convert data Text to String, probably call toString method. But with Long or Integer values, Hive tries to cast to a specific class (in this case Integer).

I made some changes in parser ESSerDe and they work fine.

from elasticsearch-hadoop.

costin avatar costin commented on September 23, 2024

Marcelo, ESSerDe is currently uncomplete and it will be addressed by the mapping feature (wip). I've tried to fix it but in the current format (Writable to Hive) it cannot be done in a reliable way.
In fact, it is a reason the current rewrite of mapping (or deserializing) started - I hope to have something shortly that I can incorporate into trunk and push out.

from elasticsearch-hadoop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.