Pass a Delete or a Put error in hbase mapreduce

后端 未结 2 1475
盖世英雄少女心
盖世英雄少女心 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:48

    The problem hasn't solved by the following code:

    job.setNumReduceTasks(0);
    

    It only help disable the reduce phase and skip the real problem in the reduce phase.

    Besides, there is problem in the configuration, you should include both mapred-site.xml and hbase-site.xml as the Configuration resources.

提交回复
热议问题