hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mainak Ghosh <gho...@us.ibm.com>
Subject Re: Trying to run TestRCFile.java
Date Fri, 19 Jul 2013 17:45:26 GMT

Hello Yin,

I tried doing that by downloading and unzipping a fresh tar ball but the
build fails with the following errors:

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:43:
 package org.apache.hadoop.hive.serde2.columnar does not exist
    [javac] import
org.apache.hadoop.hive.serde2.columnar.BytesRefArrayWritable;
    [javac]                                              ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:44:
 package org.apache.hadoop.hive.serde2.columnar does not exist
    [javac] import org.apache.hadoop.hive.serde2.columnar.BytesRefWritable;
    [javac]                                              ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:45:
 package org.apache.hadoop.hive.serde2.columnar does not exist
    [javac] import org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe;
    [javac]                                              ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:46:
 package org.apache.hadoop.hive.serde2.io does not exist
    [javac] import org.apache.hadoop.hive.serde2.io.ByteWritable;
    [javac]                                        ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:47:
 package org.apache.hadoop.hive.serde2.io does not exist
    [javac] import org.apache.hadoop.hive.serde2.io.DoubleWritable;
    [javac]                                        ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:48:
 package org.apache.hadoop.hive.serde2.io does not exist
    [javac] import org.apache.hadoop.hive.serde2.io.ShortWritable;
    [javac]                                        ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:49:
 package org.apache.hadoop.hive.serde2.objectinspector does not exist
    [javac] import
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils;
    [javac]                                                     ^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:50:
 package org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils
does not exist
    [javac] import
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.ObjectInspectorCopyOption;
    [javac]
^

[javac] /root/hive-0.11.0/src/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java:74:
 cannot find symbol
    [javac] symbol  : class ColumnarSerDe
    [javac] location: class org.apache.hadoop.hive.ql.io.TestRCFile
    [javac]   private static ColumnarSerDe serDe;

Any idea what these are? How to resolve them?

I personally do not have a lot of idea on remote debugging Hive. So a step
by step manual if present would be of great help.

Thanks and Regards,
Mainak.




From:	Yin Huai <huaiyin.thu@gmail.com>
To:	dev@hive.apache.org,
Date:	07/19/2013 10:38 AM
Subject:	Re: Trying to run TestRCFile.java



Hi Mainak,

Can you try 'ant test -Dtestcase=TestRCFile'? It should work.

Thanks,

Yin


On Fri, Jul 19, 2013 at 10:16 AM, Mainak Ghosh <ghoshm@us.ibm.com> wrote:

>
>
> Hello,
>
> I am new to Hive codebase and was hoping to run some of its test code
> specifically TestRCFile.java. Unfortunately I am not sure what are the
> steps to execute or debug it. I could not find any resource on the web.
Any
> help would be greatly appreciated.
>
> Thanks and Regards,
> Mainak.

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message