You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by 徐厚道 <xu...@gmail.com> on 2011/03/23 09:31:54 UTC

can somebody help me ?eclipse compile hive

i down load hive 0.6 source tar.gz package.
unzip and create project by myeclipse.

but error occur.

Severity and Description Path Resource Location Creation Time Id
The project was not built since its build path is incomplete. Cannot find
the class file for org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.
Fix the build path then try building this project hive Unknown 1300868112709
582532

Severity and Description Path Resource Location Creation Time Id
The type org.apache.hadoop.mapreduce.lib.output.FileOutputFormat cannot be
resolved. It is indirectly referenced from required .class files
hive/src/hbase-handler/src/java/org/apache/hadoop/hive/hbase
HiveHFileOutputFormat.java line 59 1300868112709 582533

why it is ? thanks a  lot!

[?][?][?][?][?][?][?][?][?][?][?][?][?][?][?]

Re: can somebody help me ?eclipse compile hive

Posted by 徐厚道 <xu...@gmail.com>.
thanks.

i have get it !

the problem is the myeclipse comiler comliance level set wrong value.


2011/3/23 MIS <mi...@gmail.com>

> Checkout from the hive trunk and once the checkout is complete then run the
> build script with targets such as compile, compile-test and eclipse-files.
>
>
> On Wed, Mar 23, 2011 at 2:01 PM, 徐厚道 <xu...@gmail.com> wrote:
>
>> i down load hive 0.6 source tar.gz package.
>> unzip and create project by myeclipse.
>>
>> but error occur.
>>
>> Severity and Description Path Resource Location Creation Time Id
>> The project was not built since its build path is incomplete. Cannot find
>> the class file for org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.
>> Fix the build path then try building this project hive Unknown
>> 1300868112709 582532
>>
>> Severity and Description Path Resource Location Creation Time Id
>> The type org.apache.hadoop.mapreduce.lib.output.FileOutputFormat cannot be
>> resolved. It is indirectly referenced from required .class files
>> hive/src/hbase-handler/src/java/org/apache/hadoop/hive/hbase
>> HiveHFileOutputFormat.java line 59 1300868112709 582533
>>
>> why it is ? thanks a  lot!
>>
>> [?][?][?][?][?][?][?][?][?][?][?][?][?][?][?]
>>
>
>

Re: can somebody help me ?eclipse compile hive

Posted by MIS <mi...@gmail.com>.
Checkout from the hive trunk and once the checkout is complete then run the
build script with targets such as compile, compile-test and eclipse-files.

On Wed, Mar 23, 2011 at 2:01 PM, 徐厚道 <xu...@gmail.com> wrote:

> i down load hive 0.6 source tar.gz package.
> unzip and create project by myeclipse.
>
> but error occur.
>
> Severity and Description Path Resource Location Creation Time Id
> The project was not built since its build path is incomplete. Cannot find
> the class file for org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.
> Fix the build path then try building this project hive Unknown
> 1300868112709 582532
>
> Severity and Description Path Resource Location Creation Time Id
> The type org.apache.hadoop.mapreduce.lib.output.FileOutputFormat cannot be
> resolved. It is indirectly referenced from required .class files
> hive/src/hbase-handler/src/java/org/apache/hadoop/hive/hbase
> HiveHFileOutputFormat.java line 59 1300868112709 582533
>
> why it is ? thanks a  lot!
>
> [?][?][?][?][?][?][?][?][?][?][?][?][?][?][?]
>