[ https://issues.apache.org/jira/browse/HIVE-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008657#comment-14008657 ]
Ashutosh Chauhan commented on HIVE-7077: ---------------------------------------- I think so. Patch just removes one of the type supported in TypedBytesSerDe, which lived in Hadoop code base but is deprecated for long time. TypedBytesSerDe itself is in contrib/ module (not in proper hive itself). TypedBytesSerDe is written mostly to be used with transform feature (less comonly used feature of Hive these days). So, patch is essentially removing a deprecated type from a serde from a contrib module which is used with a rarely used feature. Seems to me there will hardly be any users for it. If there are any users at all, they can still use this serde from previous release if they desire to do so. > Hive contrib compilation maybe broken with removal of org.apache.hadoop.record > ------------------------------------------------------------------------------ > > Key: HIVE-7077 > URL: https://issues.apache.org/jira/browse/HIVE-7077 > Project: Hive > Issue Type: Bug > Components: Contrib > Affects Versions: 0.12.0, 0.13.0 > Environment: Hadoop 2.4.0.5 and beyond > Reporter: Viraj Bhat > Assignee: Ashutosh Chauhan > Fix For: 0.13.0, 0.12.1 > > Attachments: HIVE-7077.patch > > > Hadoop decided to move record to hadoop-streaming so the compilation of the > contrib code will be broken if we do not include this jar. > {quote} > compile: > [echo] Project: contrib > [javac] Compiling 39 source files to > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/build/contrib/classes > [javac] > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesWritableOutput.java:47: > error: package org.apache.hadoop.record does not exist > [javac] import org.apache.hadoop.record.Record; > [javac] ^ > [javac] > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesOutput.java:30: > error: package org.apache.hadoop.record does not exist > [javac] import org.apache.hadoop.record.Buffer; > [javac] ^ > [javac] > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesWritableOutput.java:224: > error: cannot find symbol > [javac] public void writeRecord(Record r) throws IOException { > [javac] ^ > [javac] symbol: class Record > [javac] location: class TypedBytesWritableOutput > [javac] > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesInput.java:29: > error: package org.apache.hadoop.record does not exist > [javac] import org.apache.hadoop.record.Buffer; > [javac] ^ > [javac] > /home/y/var/builds/thread2/workspace/Cloud-Hive-branch-0.12-Hadoop2-Component-JDK7/contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesRecordInput.java:24: > error: package org.apache.hadoop.record does not exist > [javac] import org.apache.hadoop.record.Buffer; > [javac] ^ > {quote} > Besides this, https://issues.apache.org/jira/browse/HADOOP-10485 removes most > of these classes. This Jira is being created to track this. > Viraj -- This message was sent by Atlassian JIRA (v6.2#6252)