Repository: jena Updated Branches: refs/heads/master c49fae823 -> 322696e45
Change debug output to actual log output not stdout (JENA-876) Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/3caffeb2 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/3caffeb2 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/3caffeb2 Branch: refs/heads/master Commit: 3caffeb25ad40f8c3869c537ba3b0c3521cecdd9 Parents: 2b79b0e Author: Rob Vesse <[email protected]> Authored: Tue Feb 3 16:19:22 2015 -0800 Committer: Rob Vesse <[email protected]> Committed: Tue Feb 3 16:19:22 2015 -0800 ---------------------------------------------------------------------- .../rdf/io/input/bnodes/AbstractBlankNodeTests.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/3caffeb2/jena-elephas/jena-elephas-io/src/test/java/org/apache/jena/hadoop/rdf/io/input/bnodes/AbstractBlankNodeTests.java ---------------------------------------------------------------------- diff --git a/jena-elephas/jena-elephas-io/src/test/java/org/apache/jena/hadoop/rdf/io/input/bnodes/AbstractBlankNodeTests.java b/jena-elephas/jena-elephas-io/src/test/java/org/apache/jena/hadoop/rdf/io/input/bnodes/AbstractBlankNodeTests.java index 4bb0939..dde389f 100644 --- a/jena-elephas/jena-elephas-io/src/test/java/org/apache/jena/hadoop/rdf/io/input/bnodes/AbstractBlankNodeTests.java +++ b/jena-elephas/jena-elephas-io/src/test/java/org/apache/jena/hadoop/rdf/io/input/bnodes/AbstractBlankNodeTests.java @@ -171,7 +171,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple public final void blank_node_divergence_01() throws IOException, InterruptedException { Assume.assumeTrue("Requires ParserProfile be respected", this.respectsParserProfile()); Assume.assumeFalse("Requires that Blank Node identity not be preserved", this.preservesBlankNodeIdentity()); - + // Temporary files File a = File.createTempFile("bnode_divergence", getInitialInputExtension()); File intermediateOutputDir = Files.createTempDirectory("bnode_divergence", new FileAttribute[0]).toFile(); @@ -233,7 +233,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple // by default get treated as different nodes and so the blank nodes // diverge which is incorrect and undesirable behaviour in // multi-stage pipelines - System.out.println(intermediateOutputDir.getAbsolutePath()); + LOGGER.debug("Intermediate output directory is {}", intermediateOutputDir.getAbsolutePath()); job = Job.getInstance(config); inputFormat = createIntermediateInputFormat(); job.setInputFormatClass(inputFormat.getClass()); @@ -280,7 +280,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple public void blank_node_divergence_02() throws IOException, InterruptedException { Assume.assumeTrue("Requires ParserProfile be respected", this.respectsParserProfile()); Assume.assumeFalse("Requires that Blank Node identity not be preserved", this.preservesBlankNodeIdentity()); - + // Temporary files File a = File.createTempFile("bnode_divergence", getInitialInputExtension()); File intermediateOutputDir = Files.createTempDirectory("bnode_divergence", new FileAttribute[0]).toFile(); @@ -344,7 +344,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple // multi-stage pipelines. However it is the default behaviour // because when we start from external inputs we want them to be // file scoped. - System.out.println(intermediateOutputDir.getAbsolutePath()); + LOGGER.debug("Intermediate output directory is {}", intermediateOutputDir.getAbsolutePath()); job = Job.getInstance(config); inputFormat = createIntermediateInputFormat(); job.setInputFormatClass(inputFormat.getClass()); @@ -390,7 +390,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple public void blank_node_identity_01() throws IOException, InterruptedException { Assume.assumeTrue("Requires ParserProfile be respected", this.respectsParserProfile()); Assume.assumeFalse("Requires that Blank Node identity not be preserved", this.preservesBlankNodeIdentity()); - + // Temporary files File a = File.createTempFile("bnode_identity", getInitialInputExtension()); File b = File.createTempFile("bnode_identity", getInitialInputExtension()); @@ -454,7 +454,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple // The Blank nodes should have been given separate identities so we // should not be conflating them, this is the opposite problem to // that described in JENA-820 - System.out.println(intermediateOutputDir.getAbsolutePath()); + LOGGER.debug("Intermediate output directory is {}", intermediateOutputDir.getAbsolutePath()); job = Job.getInstance(config); inputFormat = createIntermediateInputFormat(); job.setInputFormatClass(inputFormat.getClass()); @@ -499,7 +499,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple public void blank_node_identity_02() throws IOException, InterruptedException { Assume.assumeTrue("Requires ParserProfile be respected", this.respectsParserProfile()); Assume.assumeFalse("Requires that Blank Node identity not be preserved", this.preservesBlankNodeIdentity()); - + // Temporary files File a = File.createTempFile("bnode_identity", getInitialInputExtension()); File b = File.createTempFile("bnode_identity", getInitialInputExtension()); @@ -563,7 +563,7 @@ public abstract class AbstractBlankNodeTests<T, TValue extends AbstractNodeTuple // The Blank nodes should have been given separate identities so we // should not be conflating them, this is the opposite problem to // that described in JENA-820 - System.out.println(intermediateOutputDir.getAbsolutePath()); + LOGGER.debug("Intermediate output directory is {}", intermediateOutputDir.getAbsolutePath()); job = Job.getInstance(config); inputFormat = createIntermediateInputFormat(); job.setInputFormatClass(inputFormat.getClass());
