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 <kanna...@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:donta...@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 <kanna...@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
>
>

Reply via email to