Revision 57472
Added by Claudio Atzori over 4 years ago
PrepareFeedMapper.java | ||
---|---|---|
44 | 44 |
@Override |
45 | 45 |
protected void setup(final Context context) throws IOException, InterruptedException { |
46 | 46 |
final String json = context.getConfiguration().get(JobParams.INDEX_ENTITY_LINKS); |
47 |
System.out.println(JobParams.INDEX_ENTITY_LINKS + ":\n" + json); |
|
47 |
//System.out.println(JobParams.INDEX_ENTITY_LINKS + ":\n" + json);
|
|
48 | 48 |
entityConfigTable = IndexConfig.load(json).getConfigMap(); |
49 | 49 |
|
50 | 50 |
final String contextMap = context.getConfiguration().get("contextmap"); |
51 |
System.out.println("contextmap:\n" + IndentXmlString.apply(contextMap)); |
|
51 |
//System.out.println("contextmap:\n" + IndentXmlString.apply(contextMap));
|
|
52 | 52 |
|
53 | 53 |
final String relClassJson = context.getConfiguration().get("relClasses"); |
54 |
System.out.println("relClassesJson:\n" + relClassJson); |
|
54 |
//System.out.println("relClassesJson:\n" + relClassJson);
|
|
55 | 55 |
relClasses = RelClasses.fromJSon(relClassJson); |
56 |
System.out.println("relClasses:\n" + relClasses); |
|
56 |
//System.out.println("relClasses:\n" + relClasses);
|
|
57 | 57 |
|
58 | 58 |
outKey = new Text(); |
59 | 59 |
ibw = new ImmutableBytesWritable(); |
Also available in: Unified diff
avoid to print the job configuration in the setup phase