-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-18424. Fix org.apache.hadoop.io.ArrayWritable #4809
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
|
🎊 +1 overall
This message was automatically generated. |
ayushtkn
left a comment
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.
UTF8 is deprecated and the class itself say "replaced by Text", so this fix makes sense to me.
But this code getting changed is from 2009, not sure if there are any legacy reasons for that?
Any pointers @omalley / @steveloughran
|
no idea. ask owen. |
|
|
||
| @Test | ||
| public void testArrayWritableStrings() throws Exception { | ||
| String[] original = {"The 1896 Cedar Keys hurricane was a powerful tropical cyclone " + |
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.
don't think we should be using wikipedia text even if it's interesting. just use something from our own docs
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
When we store an array of string with "new ArrayWritable(String[] strings)", the "valueClass" will be "Text" while the actual value type is "UTF8". This will cause an error on deserialization of ArrayWritable.