You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Namit Jain <nj...@fb.com> on 2012/08/08 07:41:47 UTC

compiling hive on hadoop 23


I was trying to add a test case which only works for hadoop 23.
However, I got some errors when I tried to compile:

I tried the following:

ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0 -Dhadoop.security.version.prefix=0.23 package
ant -Dhadoop.version=0.23.0 package


looking at:

https://issues.apache.org/jira/browse/HIVE-2468

Do I need to do anything else ?

Thanks,
-namit

Re: compiling hive on hadoop 23

Posted by Namit Jain <nj...@fb.com>.
Thanks Ashutosh,

But I still got unresolved dependencies.

org.apache.hadoop#hadoop-core;0-23.1: not found
org.apache.hadoop#hadoop-test;0-23.1: not found

org.apache.hadoop#hadoop-tools;0-23.1: not found



I had done a ant very-clean before this, but it did not help.

Thanks,
-namit


On 8/8/12 11:22 AM, "Ashutosh Chauhan" <ha...@apache.org> wrote:

>Try with hadoop version as 0.23.1 (instead of 0.23)
>
>ant -Dhadoop.version=0.23.1 -Dhadoop.security.version=0.23.1  package
>
>Thanks,
>Ashutosh
>On Tue, Aug 7, 2012 at 10:41 PM, Namit Jain <nj...@fb.com> wrote:
>
>>
>>
>> I was trying to add a test case which only works for hadoop 23.
>> However, I got some errors when I tried to compile:
>>
>> I tried the following:
>>
>> ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0
>> -Dhadoop.security.version.prefix=0.23 package
>> ant -Dhadoop.version=0.23.0 package
>>
>>
>> looking at:
>>
>> https://issues.apache.org/jira/browse/HIVE-2468
>>
>> Do I need to do anything else ?
>>
>> Thanks,
>> -namit
>>


Re: compiling hive on hadoop 23

Posted by Ashutosh Chauhan <ha...@apache.org>.
Try with hadoop version as 0.23.1 (instead of 0.23)

ant -Dhadoop.version=0.23.1 -Dhadoop.security.version=0.23.1  package

Thanks,
Ashutosh
On Tue, Aug 7, 2012 at 10:41 PM, Namit Jain <nj...@fb.com> wrote:

>
>
> I was trying to add a test case which only works for hadoop 23.
> However, I got some errors when I tried to compile:
>
> I tried the following:
>
> ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0
> -Dhadoop.security.version.prefix=0.23 package
> ant -Dhadoop.version=0.23.0 package
>
>
> looking at:
>
> https://issues.apache.org/jira/browse/HIVE-2468
>
> Do I need to do anything else ?
>
> Thanks,
> -namit
>

Re: compiling hive on hadoop 23

Posted by Namit Jain <nj...@fb.com>.
However, when I run a test, I am still using hadoop-20


On 8/8/12 1:10 PM, "Namit Jain" <nj...@fb.com> wrote:

>Thanks Navis, with your new ivy.xml - I was able to compile
>
>On 8/8/12 12:22 PM, "Namit Jain" <nj...@fb.com> wrote:
>
>>Navis,
>>
>>org.apache.hadoop#hadoop-core;0-23.1
>>
>>Do you know where is the corresponding jar stored ?
>>I didn't find it in mvn.
>>
>>For now, I can try hardcoding ivy.xml and proceed.
>>
>>
>>-namit
>>
>>From: Navis류승우 <na...@nexr.com>>
>>Reply-To: "dev@hive.apache.org<ma...@hive.apache.org>"
>><de...@hive.apache.org>>
>>Date: Wednesday, August 8, 2012 11:23 AM
>>To: "dev@hive.apache.org<ma...@hive.apache.org>"
>><de...@hive.apache.org>>
>>Subject: Re: compiling hive on hadoop 23
>>
>>I've modified common/ivy file slightly (HIVE-2999+a) and it worked for
>>me. But I don't know exact meaning of it.
>>
>>-navis
>>
>>2012/8/8 Namit Jain <nj...@fb.com>>
>>
>>
>>I was trying to add a test case which only works for hadoop 23.
>>However, I got some errors when I tried to compile:
>>
>>I tried the following:
>>
>>ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0
>>-Dhadoop.security.version.prefix=0.23 package
>>ant -Dhadoop.version=0.23.0 package
>>
>>
>>looking at:
>>
>>https://issues.apache.org/jira/browse/HIVE-2468
>>
>>Do I need to do anything else ?
>>
>>Thanks,
>>-namit
>>
>


Re: compiling hive on hadoop 23

Posted by Namit Jain <nj...@fb.com>.
Thanks Navis, with your new ivy.xml - I was able to compile

On 8/8/12 12:22 PM, "Namit Jain" <nj...@fb.com> wrote:

>Navis,
>
>org.apache.hadoop#hadoop-core;0-23.1
>
>Do you know where is the corresponding jar stored ?
>I didn't find it in mvn.
>
>For now, I can try hardcoding ivy.xml and proceed.
>
>
>-namit
>
>From: Navis류승우 <na...@nexr.com>>
>Reply-To: "dev@hive.apache.org<ma...@hive.apache.org>"
><de...@hive.apache.org>>
>Date: Wednesday, August 8, 2012 11:23 AM
>To: "dev@hive.apache.org<ma...@hive.apache.org>"
><de...@hive.apache.org>>
>Subject: Re: compiling hive on hadoop 23
>
>I've modified common/ivy file slightly (HIVE-2999+a) and it worked for
>me. But I don't know exact meaning of it.
>
>-navis
>
>2012/8/8 Namit Jain <nj...@fb.com>>
>
>
>I was trying to add a test case which only works for hadoop 23.
>However, I got some errors when I tried to compile:
>
>I tried the following:
>
>ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0
>-Dhadoop.security.version.prefix=0.23 package
>ant -Dhadoop.version=0.23.0 package
>
>
>looking at:
>
>https://issues.apache.org/jira/browse/HIVE-2468
>
>Do I need to do anything else ?
>
>Thanks,
>-namit
>


Re: compiling hive on hadoop 23

Posted by Namit Jain <nj...@fb.com>.
Navis,

org.apache.hadoop#hadoop-core;0-23.1

Do you know where is the corresponding jar stored ?
I didn't find it in mvn.

For now, I can try hardcoding ivy.xml and proceed.


-namit

From: Navis류승우 <na...@nexr.com>>
Reply-To: "dev@hive.apache.org<ma...@hive.apache.org>" <de...@hive.apache.org>>
Date: Wednesday, August 8, 2012 11:23 AM
To: "dev@hive.apache.org<ma...@hive.apache.org>" <de...@hive.apache.org>>
Subject: Re: compiling hive on hadoop 23

I've modified common/ivy file slightly (HIVE-2999+a) and it worked for me. But I don't know exact meaning of it.

-navis

2012/8/8 Namit Jain <nj...@fb.com>>


I was trying to add a test case which only works for hadoop 23.
However, I got some errors when I tried to compile:

I tried the following:

ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0 -Dhadoop.security.version.prefix=0.23 package
ant -Dhadoop.version=0.23.0 package


looking at:

https://issues.apache.org/jira/browse/HIVE-2468

Do I need to do anything else ?

Thanks,
-namit


Re: compiling hive on hadoop 23

Posted by Navis류승우 <na...@nexr.com>.
I've modified common/ivy file slightly (HIVE-2999+a) and it worked for me.
But I don't know exact meaning of it.

-navis

2012/8/8 Namit Jain <nj...@fb.com>

>
>
> I was trying to add a test case which only works for hadoop 23.
> However, I got some errors when I tried to compile:
>
> I tried the following:
>
> ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0
> -Dhadoop.security.version.prefix=0.23 package
> ant -Dhadoop.version=0.23.0 package
>
>
> looking at:
>
> https://issues.apache.org/jira/browse/HIVE-2468
>
> Do I need to do anything else ?
>
> Thanks,
> -namit
>