1

I have run a MapReduce java program and run in Hadoop. I have not set some configuration right and I don't get my error. I tried with various workarounds but I get similar errors repeatedly.

4

1 回答 1

4

你必须让你的映射器和减速器public

public static class AnnualTaxCalculaterMapper
public static class AnnualTaxCalculaterReducer

Hadoop API 无法访问package-private类。

于 2013-05-20T14:50:56.950 回答