hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Sichi <jsi...@facebook.com>
Subject Re: problem with hive to integrate with hbase
Date Wed, 23 Jun 2010 18:01:57 GMT
Hi Muhammad,

Just build from the top level of hive trunk (not from the hbase-handler component) and everything,
including the hbase-handler, will be built for you.  Follow the normal Hive build instructions
in

http://wiki.apache.org/hadoop/Hive/HowToContribute

Note that we currently build against the 0.20.3 version of HBase; if you run into trouble
due to mismatches with your 0.20.2 version, you'll need to downgrade the jars in hbase-handler/lib
and then rebuild Hive to produce a compatible storage handler.

JVS

On Jun 23, 2010, at 7:37 AM, Muhammad Mudassar wrote:

> Hi all
> I want to integrate hive with hbase. I am running single node Hbase
> 0.20.2 with hadoop 0.20.2 configured in
> single node cluster mode. when I tried to run *ant jar*  from
> Hbase-Handler to get hive_hbase_handler.jar it gives me errors like:
> setup:
>
> compile:
>     [echo] Compiling: hbase-handler
>    [javac] Compiling 9 source files to
> /home/hadoop/dfs/hive/build/hbase-handler/classes
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:34:
> package org.apache.hadoop.hive.serde does not exist
>    [javac] import org.apache.hadoop.hive.serde.Constants;
>    [javac]                                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:35:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.ByteStream;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:36:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.SerDe;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:37:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.SerDeException;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:38:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.SerDeUtils;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:39:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyFactory;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:40:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:41:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyUtils;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:42:
> package org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe does not
> exist
>    [javac] import
> org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters;
>    [javac]                                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:43:
> package org.apache.hadoop.hive.serde2.lazy.objectinspector does not
> exist
>    [javac] import
> org.apache.hadoop.hive.serde2.lazy.objectinspector.LazySimpleStructObjectInspector;
>    [javac]                                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:44:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:45:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:46:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:47:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:48:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import org.apache.hadoop.hive.serde2.objectinspector.StructField;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:49:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:50:
> package org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
> does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category;
>    [javac]
>         ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:51:
> package org.apache.hadoop.hive.serde2.objectinspector.primitive does
> not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorFactory;
>    [javac]                                                               ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:52:
> package org.apache.hadoop.hive.serde2.typeinfo does not exist
>    [javac] import org.apache.hadoop.hive.serde2.typeinfo.MapTypeInfo;
>    [javac]                                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:53:
> package org.apache.hadoop.hive.serde2.typeinfo does not exist
>    [javac] import org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo;
>    [javac]                                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:54:
> package org.apache.hadoop.hive.serde2.typeinfo does not exist
>    [javac] import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
>    [javac]                                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:55:
> package org.apache.hadoop.hive.serde2.typeinfo does not exist
>    [javac] import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils;
>    [javac]                                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:63:
> cannot find symbol
>    [javac] symbol: class SerDe
>    [javac] public class HBaseSerDe implements SerDe {
>    [javac]                                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:74:
> cannot find symbol
>    [javac] symbol  : class ObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   private ObjectInspector cachedObjectInspector;
>    [javac]           ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:76:
> cannot find symbol
>    [javac] symbol  : class SerDeParameters
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   private SerDeParameters serdeParams;
>    [javac]           ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:25:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.ByteArrayRef;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:26:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyFactory;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:27:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyObject;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:28:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyStruct;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:29:
> package org.apache.hadoop.hive.serde2.lazy.objectinspector does not
> exist
>    [javac] import
> org.apache.hadoop.hive.serde2.lazy.objectinspector.LazyMapObjectInspector;
>    [javac]                                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:30:
> package org.apache.hadoop.hive.serde2.lazy.objectinspector does not
> exist
>    [javac] import
> org.apache.hadoop.hive.serde2.lazy.objectinspector.LazySimpleStructObjectInspector;
>    [javac]                                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:31:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import org.apache.hadoop.hive.serde2.objectinspector.StructField;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:32:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:38:
> cannot find symbol
>    [javac] symbol: class LazyStruct
>    [javac] public class LazyHBaseRow extends LazyStruct {
>    [javac]                                   ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:79:
> package ByteStream does not exist
>    [javac]   private ByteStream.Output serializeStream = new
> ByteStream.Output();
>    [javac]                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:94:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   public HBaseSerDe() throws SerDeException {
>    [javac]                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:102:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]       throws SerDeException {
>    [javac]              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:146:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]     throws SerDeException {
>    [javac]            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:221:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   public Object deserialize(Writable rowResult) throws
> SerDeException {
>    [javac]                                                        ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:233:
> cannot find symbol
>    [javac] symbol  : class ObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   public ObjectInspector getObjectInspector() throws
> SerDeException {
>    [javac]          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:233:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   public ObjectInspector getObjectInspector() throws
> SerDeException {
>    [javac]                                                      ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:243:
> cannot find symbol
>    [javac] symbol  : class ObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]   public Writable serialize(Object obj, ObjectInspector
> objInspector)
>    [javac]                                         ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:244:
> cannot find symbol
>    [javac] symbol  : class SerDeException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]       throws SerDeException {
>    [javac]              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:291:
> cannot find symbol
>    [javac] symbol  : class StructField
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]     List<? extends StructField> fields,
>    [javac]                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:293:
> cannot find symbol
>    [javac] symbol  : class StructField
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]     List<? extends StructField> declaredFields) throws IOException {
>    [javac]                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:409:
> package ByteStream does not exist
>    [javac]   public static boolean serialize(ByteStream.Output out,
> Object obj,
>    [javac]                                             ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSerDe.java:410:
> cannot find symbol
>    [javac] symbol  : class ObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseSerDe
>    [javac]     ObjectInspector objInspector, byte[] separators, int level,
>    [javac]     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java:50:
> cannot find symbol
>    [javac] symbol  : class LazySimpleStructObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.LazyHBaseRow
>    [javac]   public LazyHBaseRow(LazySimpleStructObjectInspector oi) {
>    [javac]                       ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:38:
> package org.apache.hadoop.hive.metastore does not exist
>    [javac] import org.apache.hadoop.hive.metastore.HiveMetaHook;
>    [javac]                                        ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:39:
> package org.apache.hadoop.hive.metastore does not exist
>    [javac] import org.apache.hadoop.hive.metastore.MetaStoreUtils;
>    [javac]                                        ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:40:
> package org.apache.hadoop.hive.metastore.api does not exist
>    [javac] import org.apache.hadoop.hive.metastore.api.Constants;
>    [javac]                                            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:41:
> package org.apache.hadoop.hive.metastore.api does not exist
>    [javac] import org.apache.hadoop.hive.metastore.api.MetaException;
>    [javac]                                            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:42:
> package org.apache.hadoop.hive.metastore.api does not exist
>    [javac] import org.apache.hadoop.hive.metastore.api.Partition;
>    [javac]                                            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:43:
> package org.apache.hadoop.hive.metastore.api does not exist
>    [javac] import org.apache.hadoop.hive.metastore.api.Table;
>    [javac]                                            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:44:
> package org.apache.hadoop.hive.ql.metadata does not exist
>    [javac] import org.apache.hadoop.hive.ql.metadata.HiveStorageHandler;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:45:
> package org.apache.hadoop.hive.ql.plan does not exist
>    [javac] import org.apache.hadoop.hive.ql.plan.TableDesc;
>    [javac]                                      ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:46:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.SerDe;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:56:
> cannot find symbol
>    [javac] symbol: class HiveStorageHandler
>    [javac]   implements HiveStorageHandler, HiveMetaHook {
>    [javac]              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:56:
> cannot find symbol
>    [javac] symbol: class HiveMetaHook
>    [javac]   implements HiveStorageHandler, HiveMetaHook {
>    [javac]                                  ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:61:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   private HBaseAdmin getHBaseAdmin() throws MetaException {
>    [javac]                                             ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:72:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   private String getHBaseTableName(Table tbl) {
>    [javac]                                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:88:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void preDropTable(Table table) throws MetaException {
>    [javac]                            ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:88:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void preDropTable(Table table) throws MetaException {
>    [javac]                                                ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:93:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void rollbackDropTable(Table table) throws MetaException {
>    [javac]                                 ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:93:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void rollbackDropTable(Table table) throws MetaException {
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:99:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]     Table tbl, boolean deleteData) throws MetaException {
>    [javac]     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:99:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]     Table tbl, boolean deleteData) throws MetaException {
>    [javac]                                           ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:116:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void preCreateTable(Table tbl) throws MetaException {
>    [javac]                              ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:116:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void preCreateTable(Table tbl) throws MetaException {
>    [javac]                                                ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:201:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void rollbackCreateTable(Table table) throws
> MetaException {
>    [javac]                                   ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:201:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void rollbackCreateTable(Table table) throws
> MetaException {
>    [javac]                                                       ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:218:
> cannot find symbol
>    [javac] symbol  : class Table
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void commitCreateTable(Table table) throws MetaException {
>    [javac]                                 ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:218:
> cannot find symbol
>    [javac] symbol  : class MetaException
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public void commitCreateTable(Table table) throws MetaException {
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:243:
> cannot find symbol
>    [javac] symbol  : class SerDe
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public Class<? extends SerDe> getSerDeClass() {
>    [javac]                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:248:
> cannot find symbol
>    [javac] symbol  : class HiveMetaHook
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]   public HiveMetaHook getMetaHook() {
>    [javac]          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java:254:
> cannot find symbol
>    [javac] symbol  : class TableDesc
>    [javac] location: class org.apache.hadoop.hive.hbase.HBaseStorageHandler
>    [javac]     TableDesc tableDesc,
>    [javac]     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java:35:
> package org.apache.hadoop.hive.serde2 does not exist
>    [javac] import org.apache.hadoop.hive.serde2.ColumnProjectionUtils;
>    [javac]                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:32:
> package org.apache.hadoop.hive.conf does not exist
>    [javac] import org.apache.hadoop.hive.conf.HiveConf;
>    [javac]                                   ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:33:
> package org.apache.hadoop.hive.ql.exec.FileSinkOperator does not exist
>    [javac] import org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter;
>    [javac]                                                       ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:34:
> package org.apache.hadoop.hive.ql.io does not exist
>    [javac] import org.apache.hadoop.hive.ql.io.HiveOutputFormat;
>    [javac]                                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:44:
> cannot find symbol
>    [javac] symbol: class HiveOutputFormat
>    [javac]     HiveOutputFormat<ImmutableBytesWritable, BatchUpdate> {
>    [javac]     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:44:
> interface expected here
>    [javac]     HiveOutputFormat<ImmutableBytesWritable, BatchUpdate> {
>    [javac]                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:66:
> cannot find symbol
>    [javac] symbol  : class RecordWriter
>    [javac] location: class
> org.apache.hadoop.hive.hbase.HiveHBaseTableOutputFormat
>    [javac]   public RecordWriter getHiveRecordWriter(JobConf jc, Path
> finalOutPath,
>    [javac]          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableOutputFormat.java:82:
> cannot find symbol
>    [javac] symbol  : class RecordWriter
>    [javac] location: class
> org.apache.hadoop.hive.hbase.HiveHBaseTableOutputFormat
>    [javac]   private static class HiveHBaseRecordWriter implements
> RecordWriter {
>    [javac]                                                         ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHFileOutputFormat.java:39:
> package org.apache.hadoop.hive.ql.exec.FileSinkOperator does not exist
>    [javac] import org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter;
>    [javac]                                                       ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHFileOutputFormat.java:40:
> package org.apache.hadoop.hive.ql.io does not exist
>    [javac] import org.apache.hadoop.hive.ql.io.HiveOutputFormat;
>    [javac]                                    ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHFileOutputFormat.java:60:
> cannot find symbol
>    [javac] symbol: class HiveOutputFormat
>    [javac]     HiveOutputFormat<ImmutableBytesWritable, KeyValue> {
>    [javac]     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHFileOutputFormat.java:60:
> interface expected here
>    [javac]     HiveOutputFormat<ImmutableBytesWritable, KeyValue> {
>    [javac]                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHFileOutputFormat.java:79:
> cannot find symbol
>    [javac] symbol  : class RecordWriter
>    [javac] location: class org.apache.hadoop.hive.hbase.HiveHFileOutputFormat
>    [javac]   public RecordWriter getHiveRecordWriter(
>    [javac]          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:26:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.ByteArrayRef;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:27:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyFactory;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:28:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyMap;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:29:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyObject;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:30:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyPrimitive;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:31:
> package org.apache.hadoop.hive.serde2.lazy does not exist
>    [javac] import org.apache.hadoop.hive.serde2.lazy.LazyUtils;
>    [javac]                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:32:
> package org.apache.hadoop.hive.serde2.lazy.objectinspector does not
> exist
>    [javac] import
> org.apache.hadoop.hive.serde2.lazy.objectinspector.LazyMapObjectInspector;
>    [javac]                                                          ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:33:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:34:
> package org.apache.hadoop.hive.serde2.objectinspector does not exist
>    [javac] import
> org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector;
>    [javac]                                                     ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:39:
> cannot find symbol
>    [javac] symbol: class LazyMap
>    [javac] public class LazyHBaseCellMap extends LazyMap {
>    [javac]                                       ^
>    [javac] /home/hadoop/dfs/hive/hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java:48:
> cannot find symbol
>    [javac] symbol  : class LazyMapObjectInspector
>    [javac] location: class org.apache.hadoop.hive.hbase.LazyHBaseCellMap
>    [javac]   public LazyHBaseCellMap(LazyMapObjectInspector oi) {
>    [javac]                           ^
>    [javac] org/apache/hadoop/hbase/io/RowResult.class(org/apache/hadoop/hbase/io:RowResult.class):
> warning: Cannot find annotation method 'base64()' in type
> 'agilejson.TOJSON': class file for agilejson.TOJSON not found
>    [javac] org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
> warning: Cannot find annotation method 'fieldName()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
> warning: Cannot find annotation method 'base64()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
> warning: Cannot find annotation method 'prefixLength()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
> warning: Cannot find annotation method 'prefixLength()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/HColumnDescriptor.class(org/apache/hadoop/hbase:HColumnDescriptor.class):
> warning: Cannot find annotation method 'prefixLength()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/HTableDescriptor.class(org/apache/hadoop/hbase:HTableDescriptor.class):
> warning: Cannot find annotation method 'fieldName()' in type
> 'agilejson.TOJSON'
>    [javac] org/apache/hadoop/hbase/io/Cell.class(org/apache/hadoop/hbase/io:Cell.class):
> warning: Cannot find annotation method 'base64()' in type
> 'agilejson.TOJSON'
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 100 errors
>    [javac] 8 warnings
>
> BUILD FAILED
>
>
> <http://osdir.com/ml/hive-user-hadoop-apache/2010-03/msg00037.html>
>
>
>
> --
> Regards
>
> Muhammad Mudassar


Mime
View raw message