GithubHelp home page GithubHelp logo

Comments (7)

cjnolet avatar cjnolet commented on July 21, 2024

What was the expected implementation / transport for this? The Accumulo side is easy with their VFS /HDFS classloader, but what about Storm?

from mango.

eawagner avatar eawagner commented on July 21, 2024

Sorry, I don't know how, but I accidentally left off the Serialization in the title.

I mean the simplest implementation is to assume the classes are available on the classpath and use standard java serialization. Basically just some way to make sure that a customized TypeRegistry can be shared with an iterator or a bolt. I don't really want to solve the problem of distribution in mango, just a means to make it possible easily.

from mango.

cjnolet avatar cjnolet commented on July 21, 2024

Ah, gotcha. That makes more sense. I didn't understand the purpose.

On Sat, May 17, 2014 at 9:38 PM, eawagner [email protected] wrote:

Sorry, I don't know how, but I accidentally left off the Serialization in
the title.

I mean the simplest implementation is to assume the classes are available
on the classpath and use standard java serialization. Basically just some
way to make sure that a customized TypeRegistry can be shared with an
iterator or a bolt. I don't really want to solve the problem of
distribution in mango, just a means to make it possible easily.


Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-43429004
.

from mango.

cjnolet avatar cjnolet commented on July 21, 2024

+1 I realized I could probably use this in the input formats & pig load/store funcs

from mango.

cjnolet avatar cjnolet commented on July 21, 2024

I think it would also do us justice to go as far as coding the type encoders to a serializable. That way nobody can make the mistake of having an unserializable value they are trying to encode. I made this mistake today with the EntityRelationship class as I was integrating the Calrissian stack into my day project

from mango.

eawagner avatar eawagner commented on July 21, 2024

I don't know if that is a good idea to require the encode type to be serializable.

  1. Currently you can use the TypeEncoder interface to create any type of object. Right now, we use it mostly for serializing and normalizing data to Strings. This does not mean that you need to use these for serialization.
  2. Secondly, this interface allows beans that you don't control to actually be serialized if you want to use it for that. This way if you can't make a class serializable, you can still create an encoder for it.

from mango.

cjnolet avatar cjnolet commented on July 21, 2024

Fair enough. Application layer devs could always force that.

from mango.

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.