hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7077) Hive contrib compilation maybe broken with removal of org.apache.hadoop.record
Date Mon, 19 May 2014 20:45:39 GMT

    [ https://issues.apache.org/jira/browse/HIVE-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002356#comment-14002356
] 

Jason Lowe commented on HIVE-7077:
----------------------------------

The move of org.apache.hadoop.record.* classes to the hadoop-streaming jar and the subsequent
removal of some of those classes (HADOOP-10474 and HADOOP-10485, respectively) have been reverted
from Hadoop's branch-2.  Note that these changes are still in Hadoop trunk, and they will
be part of Hadoop 3.x and subsequent releases.  This gives users the Hadoop 2.x release to
realize these classes are deprecated and a chance to migrate to an alternative (e.g.: Avro).


> 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
>             Fix For: 0.13.0, 0.12.1
>
>
> 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)

Mime
View raw message