You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Kanna Karanam <ka...@microsoft.com> on 2012/06/08 17:36:23 UTC
Unable to compile and run unit tests against custom/local version
of Hadoop
Hi Gurus,
It would be a great help if anyone can help me run hive with my local hadoop build. I followed the wiki instructions but no luck. I am sure that I am missing something here. It would be a great help if anyone can point me in the right direction.
>From wiki:
* One can also compile against a custom version of the Hadoop tree (only release 0.4 and above). This is also useful if running Ivy is problematic (in disconnected mode for example) - but a hadoop tree is available. This can be done by specifying the root of the hadoop source tree to be used, for example:
ant -Dhadoop.root=~/src/hadoop-19/build/hadoop-0.19.2-dev -Dhadoop.version=0.19.2-dev
Thanks,
Kanna
Re: Unable to compile and run unit tests against custom/local version
of Hadoop
Posted by Mohammad Tariq <do...@gmail.com>.
also visit this link on official wiki page -
https://cwiki.apache.org/Hive/developerguide.html#DeveloperGuide-Unittestsanddebugging
Regards,
Mohammad Tariq
On Sat, Jun 9, 2012 at 2:32 AM, Mohammad Tariq <do...@gmail.com> wrote:
> Kanna, you can visit the link given below..it talks about Hive Unit
> Testing in detail.
> http://dev.bizo.com/2011/04/hive-unit-testing.html
>
> Regards,
> Mohammad Tariq
>
>
> On Sat, Jun 9, 2012 at 1:04 AM, Kanna Karanam <ka...@microsoft.com> wrote:
>> Thanks Mohammad - I downloaded the Hadoop & Hive source from apache and made some changes in Hadoop internally. Now I am trying to run hive unit tests against my changes (internal Hadoop). Are there any configuration settings in hive (unit tests) to configure and run against local Hadoop jars.
>>
>> Thanks,
>> Kanna
>>
>> -----Original Message-----
>> From: Mohammad Tariq [mailto:dontariq@gmail.com]
>> Sent: Friday, June 08, 2012 11:30 AM
>> To: user@hive.apache.org
>> Subject: Re: Unable to compile and run unit tests against custom/local version of Hadoop
>>
>> Hello Kanna,
>>
>> If you are facing problem with your build, you can download Hadoop and Hive directly from Apache and use them.
>>
>> Regards,
>> Mohammad Tariq
>>
>>
>> On Fri, Jun 8, 2012 at 9:06 PM, Kanna Karanam <ka...@microsoft.com> wrote:
>>> Hi Gurus,
>>>
>>>
>>>
>>> It would be a great help if anyone can help me run hive with my local
>>> hadoop build. I followed the wiki instructions but no luck. I am sure
>>> that I am missing something here. It would be a great help if anyone
>>> can point me in the right direction.
>>>
>>>
>>>
>>>
>>>
>>> From wiki:
>>>
>>> One can also compile against a custom version of the Hadoop tree (only
>>> release 0.4 and above). This is also useful if running Ivy is
>>> problematic (in disconnected mode for example) - but a hadoop tree is
>>> available. This can be done by specifying the root of the hadoop
>>> source tree to be used, for
>>> example:
>>>
>>> ant -Dhadoop.root=~/src/hadoop-19/build/hadoop-0.19.2-dev
>>> -Dhadoop.version=0.19.2-dev
>>>
>>> Thanks,
>>>
>>> Kanna
>>
>>
Re: Unable to compile and run unit tests against custom/local version
of Hadoop
Posted by Mohammad Tariq <do...@gmail.com>.
Kanna, you can visit the link given below..it talks about Hive Unit
Testing in detail.
http://dev.bizo.com/2011/04/hive-unit-testing.html
Regards,
Mohammad Tariq
On Sat, Jun 9, 2012 at 1:04 AM, Kanna Karanam <ka...@microsoft.com> wrote:
> Thanks Mohammad - I downloaded the Hadoop & Hive source from apache and made some changes in Hadoop internally. Now I am trying to run hive unit tests against my changes (internal Hadoop). Are there any configuration settings in hive (unit tests) to configure and run against local Hadoop jars.
>
> Thanks,
> Kanna
>
> -----Original Message-----
> From: Mohammad Tariq [mailto:dontariq@gmail.com]
> Sent: Friday, June 08, 2012 11:30 AM
> To: user@hive.apache.org
> Subject: Re: Unable to compile and run unit tests against custom/local version of Hadoop
>
> Hello Kanna,
>
> If you are facing problem with your build, you can download Hadoop and Hive directly from Apache and use them.
>
> Regards,
> Mohammad Tariq
>
>
> On Fri, Jun 8, 2012 at 9:06 PM, Kanna Karanam <ka...@microsoft.com> wrote:
>> Hi Gurus,
>>
>>
>>
>> It would be a great help if anyone can help me run hive with my local
>> hadoop build. I followed the wiki instructions but no luck. I am sure
>> that I am missing something here. It would be a great help if anyone
>> can point me in the right direction.
>>
>>
>>
>>
>>
>> From wiki:
>>
>> One can also compile against a custom version of the Hadoop tree (only
>> release 0.4 and above). This is also useful if running Ivy is
>> problematic (in disconnected mode for example) - but a hadoop tree is
>> available. This can be done by specifying the root of the hadoop
>> source tree to be used, for
>> example:
>>
>> ant -Dhadoop.root=~/src/hadoop-19/build/hadoop-0.19.2-dev
>> -Dhadoop.version=0.19.2-dev
>>
>> Thanks,
>>
>> Kanna
>
>
RE: Unable to compile and run unit tests against custom/local
version of Hadoop
Posted by Kanna Karanam <ka...@microsoft.com>.
Thanks Mohammad - I downloaded the Hadoop & Hive source from apache and made some changes in Hadoop internally. Now I am trying to run hive unit tests against my changes (internal Hadoop). Are there any configuration settings in hive (unit tests) to configure and run against local Hadoop jars.
Thanks,
Kanna
-----Original Message-----
From: Mohammad Tariq [mailto:dontariq@gmail.com]
Sent: Friday, June 08, 2012 11:30 AM
To: user@hive.apache.org
Subject: Re: Unable to compile and run unit tests against custom/local version of Hadoop
Hello Kanna,
If you are facing problem with your build, you can download Hadoop and Hive directly from Apache and use them.
Regards,
Mohammad Tariq
On Fri, Jun 8, 2012 at 9:06 PM, Kanna Karanam <ka...@microsoft.com> wrote:
> Hi Gurus,
>
>
>
> It would be a great help if anyone can help me run hive with my local
> hadoop build. I followed the wiki instructions but no luck. I am sure
> that I am missing something here. It would be a great help if anyone
> can point me in the right direction.
>
>
>
>
>
> From wiki:
>
> One can also compile against a custom version of the Hadoop tree (only
> release 0.4 and above). This is also useful if running Ivy is
> problematic (in disconnected mode for example) - but a hadoop tree is
> available. This can be done by specifying the root of the hadoop
> source tree to be used, for
> example:
>
> ant -Dhadoop.root=~/src/hadoop-19/build/hadoop-0.19.2-dev
> -Dhadoop.version=0.19.2-dev
>
> Thanks,
>
> Kanna
Re: Unable to compile and run unit tests against custom/local version
of Hadoop
Posted by Mohammad Tariq <do...@gmail.com>.
Hello Kanna,
If you are facing problem with your build, you can download
Hadoop and Hive directly from Apache and use them.
Regards,
Mohammad Tariq
On Fri, Jun 8, 2012 at 9:06 PM, Kanna Karanam <ka...@microsoft.com> wrote:
> Hi Gurus,
>
>
>
> It would be a great help if anyone can help me run hive with my local hadoop
> build. I followed the wiki instructions but no luck. I am sure that I am
> missing something here. It would be a great help if anyone can point me in
> the right direction.
>
>
>
>
>
> From wiki:
>
> One can also compile against a custom version of the Hadoop tree (only
> release 0.4 and above). This is also useful if running Ivy is problematic
> (in disconnected mode for example) - but a hadoop tree is available. This
> can be done by specifying the root of the hadoop source tree to be used, for
> example:
>
> ant -Dhadoop.root=~/src/hadoop-19/build/hadoop-0.19.2-dev
> -Dhadoop.version=0.19.2-dev
>
> Thanks,
>
> Kanna