-
Notifications
You must be signed in to change notification settings - Fork 995
Fix writable serialization of date type with long values #320
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
Conversation
Thanks for the report @haizhou. Since you didn't sign the CLA and to time constraints (release schedule) I could not use your PR - please make sure to sign the CLA if you plan to contribute in the future (and I hope you do). Cheers! |
@costin EverTrue has signed that document, organizationally speaking, we should be all set. |
Thanks - I wasn't aware of the organizational sign-up - I checked the user address/email directly. I'll make a note to remember the next time around. |
I was under the impression that work could not be merged unless that agreement was signed in the first place? For the future, I think it would be better for the community to solicit that signature for that document first before committing to master under your account so that credit can be properly attributed in the tree. |
@mgreene The PR/work was not merged or reviewed since the CLA was not in place as I have indicated (based on @haizhou profile/email check) in my previous answer. Going forward, it would help a lot to figure out from the start whether a contributor signed the CLA or not. I am sorry if you feel credit hasn't been given - I'll be sure to use this PR for the 2.0.x branch or reapply it to 2.1.x. once @haizhou CLA is in place. Cheers, |
@costin what are the steps for me to get a copy of the CLA? |
@haizhou See https://github.com/elasticsearch/elasticsearch-hadoop/blob/master/CONTRIBUTING.md - it appears as a header each time a PR is created. |
@costin thanks for the link, and i just proceeded and signed the CLA. |
@costin please also note the newest commit about the nested type serialization. I was trying to submit a separate pull request, but it seems github would only allow me to use the existing one from a forked repo. |
Thanks. It's best to create a branch per PR as that allows the same Cheers Costin
|
Great. Thank you! I'll try to review and merge the PRs early next week to Costin
|
Submitted #327 for the other issue. Closing this one now. |
@haizhou can you confirm the email you have used to sign the CLA? It needs to be same one as your Github account and currently islandsword@gmail.com does not appear in the list... |
@costin I just changed my github account email. It should be matching what I used to sign the CLA now. |
@haizhou Unfortunately you'll have to resubmit the PR since your git commits are tied to your previous emails. Or potentially use git to rewrite the commit author (should be easier). |
@costin I just signed the CLA again under the other email. Please confirm. |
@haizhou Thanks for signing and your patience. I've merged #327 into master and 2.0.x. Unfortunately for this PR, #320, it looks like your contributing branch has been updated and no commits are available. Thus there is nothing to re-apply/merge... Cheers, |
We have fields defined as a date type in the mapping, and we store the millisecond long timestamp for those fields. However, when we are streaming using mapreduce, we get exception saying Date cannot be cast as a Writable.
Initial investigation shows that the
WritableValueReader
class does not map date values coming from its super classJdkValueReader
to a hadoop writable type.