You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Neha Tomar <ne...@gmail.com> on 2013/09/12 12:24:06 UTC
MapReduce job for hive load
Hi All,
I have hadoop 2.0.4 configured in pseudo mode. I have created a table and
now, trying to load data into it.
load data local inpath '/path_to_file_in_local_file_system' overwrite into
table tblname;
The size of data file is 759 MB. When I execute the above mentioned command
I do not see an MR job being created. Could you please let me know how to
achieve it?
Thanks in advance.
Neha.
Re: MapReduce job for hive load
Posted by Nitin Pawar <ni...@gmail.com>.
Loading data into tables is hdfs put job and which does not run a mapreduce
job.
a mapreduce job is only started when you run a computational or conditional
query on hive. When you read like (select * from table), hive directly uses
hdfs api and shows you contents.
On Thu, Sep 12, 2013 at 3:54 PM, Neha Tomar <ne...@gmail.com>wrote:
> Hi All,
>
> I have hadoop 2.0.4 configured in pseudo mode. I have created a table and
> now, trying to load data into it.
>
> load data local inpath '/path_to_file_in_local_file_system' overwrite into
> table tblname;
>
> The size of data file is 759 MB. When I execute the above mentioned
> command I do not see an MR job being created. Could you please let me know
> how to achieve it?
> Thanks in advance.
>
> Neha.
>
>
--
Nitin Pawar