Hive queries from mapreduce gives Null Pointer Exception

0 votes
Hi. I am using Hive for MapReduce version 1. I am using Hive along with this. Whenever a hive queries is generated from MapReduce job, it is failing with Null Point Exception. I tried the same for different jobs and irrespective of what job I am trying to run, the result is same. Please help me solve this.
Jun 4, 2019 in Big Data Hadoop by Laya
2,579 views

1 answer to this question.

0 votes

I think you have upgraded CDH. This is a common problem when CDH is upgraded to version 5 and above. To solve this, open the mapred-site.xml file and remove the following property:

<property>
  <name>mapreduce.framework.name</name>
  <value>yarn</value>
</property> 
answered Jun 4, 2019 by Rihan

Related Questions In Big Data Hadoop

+1 vote
0 answers

Hadoop Mapreduce : Null Pointer Exception

While running the below program, I got ...READ MORE

Dec 6, 2019 in Big Data Hadoop by Tarun
• 160 points
1,627 views
0 votes
1 answer

Which java class handles the output record encoding into files which result from Hive queries?

Hey, This particular class handles the output record ...READ MORE

answered Jun 26, 2019 in Big Data Hadoop by Gitika
• 65,770 points
916 views
0 votes
1 answer

Cannot connect to Hive from MicroStrategy BI tool

The problem is with your hive authentication. ...READ MORE

answered May 8, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,263 views
0 votes
1 answer

Hive with JSON: getting EOF exception while querying

You are missing the commas in your ...READ MORE

answered Aug 30, 2018 in Big Data Hadoop by Neha
• 6,300 points
1,766 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,077 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,574 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,071 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,642 views
0 votes
1 answer

Can hive queries be executed from script files? And how?

Hey, It is possible by using the source ...READ MORE

answered Jun 26, 2019 in Big Data Hadoop by Gitika
• 65,770 points
994 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP