Pass a Delete or a Put error in hbase mapreduce

后端 未结 2 1469
盖世英雄少女心
盖世英雄少女心 2021-01-26 02:03

I am getting below Error while running mapreduce on hbase:

java.io.IOException: Pass a Delete or a Put
    at org.apache.hadoop.hbase.mapreduce.TableOutputFormat         


        
2条回答
  •  醉话见心
    2021-01-26 02:59

    Got Answer for my own question. I was setting mistakenly no of reducer tasks as '0'.

     job.setNumReduceTasks(0);
    

    So Mapper expects Put object to directly write into Hbase table.Commenting the above line solved the issue.

提交回复
热议问题