Hi,
How to implement the Hive query such as
select * from table comp;
select empId from comp where sal>12000;
in mapreduce.
Need to use this query in mapreduce code. How to implement the above query
in the code using mapreduce , JAVA.
Please provide the sample code.
Thanks in advance for th
Hi,
Need to load the data into hive table using mapreduce, using java.
Please suggest the code related to hive +mapreduce.
Thanks in advance
Ranjini R
>
> Hi,
>
> This is my xml file
>
>
>
> 100
> ranjini
> IT1
> 123456
> nextlevel1
>
> Chennai1
> Navallur1
>
>
>
> 1001
> ranjinikumar
> IT
> 1234516
> nextlevel
>
> Chennai
> Navallur
>
>
>
>
>
> In hive shell , i use xpath
>
> hive> select xpath(str,'/Company/Employee/ename/text()')
Hi,
This is my xml file
100
ranjini
IT1
123456
nextlevel1
Chennai1
Navallur1
1001
ranjinikumar
IT
1234516
nextlevel
Chennai
Navallur
In hive shell , i use xpath
hive> select xpath(str,'/Company/Employee/ename/text()') from hivexml;
Total MapReduce jobs = 1 Launching Job 1 out of 1