TransWikia.com

Mapreduce jobs not working in hive

Data Science Asked by Aamir Ahmad Ansari on December 26, 2020

I was trying to execute a hive query:

select name, count(*) 
from amazon 
where review != NULL 
group by name ;

Number of reduce tasks not specified. Estimated from input data size: 1

In order to change the average load for a reducer (in bytes):

  set hive.exec.reducers.bytes.per.reducer=<number>

In order to limit the maximum number of reducers:

  set hive.exec.reducers.max=<number>

In order to set a constant number of reducers:

  set mapreduce.job.reduces=<number>

Starting Job = job_1564815666993_0001, Tracking URL = http://aamir-VirtualBox:8088/proxy/application_1564815666993_0001/

Kill Command = /usr/local/hadoop/bin/hadoop job  -kill job_1564815666993_0001

It works only till here. The table is all right but it is just stuck and doesn’t work . Can anyone help me please?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP