다음 코드는 Counters.java에 ... 감상 할 수있다. 이 코드는 20.203, 20.204 및 20.205 (현재 1.0이라고 함) 릴리스에 있습니다. 또한 매개 변수 중 일부는 구성 가능하고 일부 매개 변수는 구성 가능하지 않음에 유의하십시오. 트렁크 및 0.23 릴리스 아래의 코드에서
/** limit on the size of the name of the group **/
private static final int GROUP_NAME_LIMIT = 128;
/** limit on the size of the counter name **/
private static final int COUNTER_NAME_LIMIT = 64;
private static final JobConf conf = new JobConf();
/** limit on counters **/
public static int MAX_COUNTER_LIMIT =
conf.getInt("mapreduce.job.counters.limit", 120);
/** the max groups allowed **/
static final int MAX_GROUP_LIMIT = 50;
은 MRJobConfig.java에있다. 매개 변수는 구성 가능합니다.
public static final String COUNTERS_MAX_KEY = "mapreduce.job.counters.max";
public static final int COUNTERS_MAX_DEFAULT = 120;
public static final String COUNTER_GROUP_NAME_MAX_KEY = "mapreduce.job.counters.group.name.max";
public static final int COUNTER_GROUP_NAME_MAX_DEFAULT = 128;
public static final String COUNTER_NAME_MAX_KEY = "mapreduce.job.counters.counter.name.max";
public static final int COUNTER_NAME_MAX_DEFAULT = 64;
public static final String COUNTER_GROUPS_MAX_KEY = "mapreduce.job.counters.groups.max";
public static final int COUNTER_GROUPS_MAX_DEFAULT = 50;
당신은 MAPREDUCE-3520이 mail에 관심이있을 수 있습니다. MAPREDUCE-3520에서 작업 할 계획이지만 시간을 얻지는 못했습니다 :)
왜이 문제에 투표가 실패했는지 확실하지 않습니다. –
그 downvote는 심해했다. Solr (Apache가 진화하는 검색 서버)에 관한 많은 질문은 Jira의 미해결 문제를 지적함으로써 답변을 얻습니다. – aitchnyu
+1 이것이 도움이되었다고 생각합니다. 아마 downvote에 대한 의견이 도움이 될 것입니까? – jayunit100