You have to use -Phadoop-1 or -Phadoop-2 as an option when building hive.
On Mon, Jan 27, 2014 at 11:48 PM, Thomas Larsson
> Thanks Andrew, I'll try that.
> On Tue, Jan 28, 2014 at 8:46 AM, Andrew Mains <[EMAIL PROTECTED]>wrote:
>> Hi Thomas,
>> Check out the developer guide and FAQ: https://cwiki.apache.org/
>> CompilingandRunningHive, https://cwiki.apache.org/
>> confluence/display/Hive/HiveDeveloperFAQ . The instructions on the FAQ
>> ought to work for the latest code (at least, they did for me).
>> On 1/27/14, 11:36 PM, Thomas Larsson wrote:
>>> I just checked out the hive git repo and ran "mvn clean install" from
>>> the project root.
>>> It fails in module common in which the class HiveStringUtils tries to
>>> use the classes org.apache.hadoop.fs.Path and org.apache.hadoop.fs.Text
>>> which cannot be found.
>>> Is there anything special I need to do to build?
>>> Are there any build instructions somewhere?
>>> Best Regards
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.