Comments (7)
What was the expected implementation / transport for this? The Accumulo side is easy with their VFS /HDFS classloader, but what about Storm?
from mango.
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.
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.
+1 I realized I could probably use this in the input formats & pig load/store funcs
from mango.
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.
I don't know if that is a good idea to require the encode type to be serializable.
- 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.
- 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.
Fair enough. Application layer devs could always force that.
from mango.
Related Issues (20)
- IP classes should be caching the byteArray used for comparisons instead of the InetAddress HOT 3
- CloseableIterables needs a toList() or toCollection method HOT 2
- Host the javadocs for release versions
- Release mango 2.0 HOT 1
- Removed deprecated jackson serialization and deserialization classes
- Most of the criteria objects don't evaluate correctly
- Entity object needs to specify a serialVersionUuid HOT 1
- "Short Alias" for type encoders HOT 7
- AbstractAttributeStore should use the ArrayListMultiMap HOT 2
- Remove ComparableComparator
- Add a close/shutdown method to the Batcher interface that returns all of the unprocessed objects in the queue.
- RangeLeaf should not just extend AbstractKeyValueLeaf HOT 1
- Cleanup Criteria domain objects
- BigDecimalLexiEncoder has a bug with lexi encoding 0
- IP Type should be Public
- Invalid error message parameters HOT 1
- Replace Query and Criteria APIs with library support HOT 1
- Fix use of methods that have been deprecated in new guava versions. HOT 6
- Update to use Java 8
- Add encoders for Java 8's Instant time class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mango.