mirror of https://github.com/apache/lucene.git
SOLR-1301: make debugging these tests a whole lot easier by sending map reduce job logging to std out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e6b894036
commit
50e277c1ef
|
@ -316,6 +316,7 @@ public class MorphlineBasicMiniMRTest extends SolrTestCaseJ4 {
|
|||
fs.copyFromLocalFile(new Path(DOCUMENTS_DIR, inputAvroFile), dataDir);
|
||||
|
||||
JobConf jobConf = getJobConf();
|
||||
jobConf.set("jobclient.output.filter", "ALL");
|
||||
if (ENABLE_LOCAL_JOB_RUNNER) { // enable Hadoop LocalJobRunner; this enables to run in debugger and set breakpoints
|
||||
jobConf.set("mapred.job.tracker", "local");
|
||||
}
|
||||
|
|
|
@ -362,6 +362,7 @@ public class MorphlineGoLiveMiniMRTest extends AbstractFullDistribZkTestBase {
|
|||
Path INPATH = upAvroFile(fs, inDir, DATADIR, dataDir, inputAvroFile1);
|
||||
|
||||
JobConf jobConf = getJobConf();
|
||||
jobConf.set("jobclient.output.filter", "ALL");
|
||||
// enable mapred.job.tracker = local to run in debugger and set breakpoints
|
||||
// jobConf.set("mapred.job.tracker", "local");
|
||||
jobConf.setMaxMapAttempts(1);
|
||||
|
|
Loading…
Reference in New Issue