-
Notifications
You must be signed in to change notification settings - Fork 84
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
hadoop-compat addons project with HadoopDataSource #437
Conversation
Nice. I vote for What do you mean with "Add HadoopDataSource"? Typo for sink? |
I saw I added an additional converter that allows to use any Hadoop |
Not sure, if I would call it either. |
The plan is to put everything related to hadoop compatability into this package. I will change the name! |
This is a combination of commits: * make hadoop-compat compatible to hadoop yarn and remove org.apache.hadoop code * Extended usercode wrapper, fixed IF serialization * introduce pluggable type converter * make the converter interface more generic; (hopefully) improved fetching logic
We are thinking about adding proper interface compatibility with Hadoop On Mon, Jan 27, 2014 at 2:34 AM, Robert Metzger notifications@github.comwrote:
|
Method customSerializer = null; | ||
Method customDeserializer = null; | ||
try { | ||
customSerializer = current.getClass().getDeclaredMethod("writeObject", java.io.ObjectOutputStream.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aljoscha: Could you review this change? (I committed it already to master) ... but it would be good if you can confirm my approach.
I picked up the code of #424 and enhanced it with the following:
org.apache.hadoop
.Writable
andWritableComparable
.The generic wrapper allows to do the following: (The example is from Mongodb's Hadoop InputFormat)
Lets discuss if we want the project being called "hadoop-compat" or if you prefer "hadoop-compatability" ?
Open issues: