hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Kumar <nirmal.ku...@impetus.co.in>
Subject RE: HIVE+MAPREDUCE
Date Tue, 21 Jan 2014 12:29:08 GMT
You can load data into existing tables from the Hive CLI using the commands:

1. LOAD DATA LOCAL INPATH '/home/guest/input/test_order.dat' OVERWRITE INTO TABLE orders;
        If the data is in the local file system
2. LOAD DATA INPATH '/user/guestuser/lineitem.dat' INTO table line_item;
        If the data is in the HDFS

Thanks,
-Nirmal

-----Original Message-----
From: Chris Mawata [mailto:chris.mawata@gmail.com]
Sent: Tuesday, January 21, 2014 4:48 PM
To: user@hadoop.apache.org
Subject: Re: HIVE+MAPREDUCE

If you put the sentence
"Need to load the data into hive table using mapreduce, using java"
into your google search box you will get tons of information.

On 1/21/2014 3:21 AM, Ranjini Rathinam wrote:
> Need to load the data into hive table using mapreduce, using java


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or
otherwise protected by law. The message is intended solely for the named addressee. If received
in error, please destroy and notify the sender. Any use of this email is prohibited when received
in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors, virus, interception
or interference.

Mime
View raw message