You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2019/06/10 18:29:45 UTC
[kudu] 01/02: [itbll] make error/failure easier to detect
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 4b60b5280ed2fc317b95a60f257053df27d70fa5
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Mon Jun 10 09:29:51 2019 -0700
[itbll] make error/failure easier to detect
I found it extremely hard to parse a Spark job's output running ITBLL
to find error/failure messages originated from the ITBLL code. This
patch changes the output from ITBLL so every failure message is simply
prepended with 'FAILURE: ' prefix.
Change-Id: Ief639a1c075df4f7e6ea9253817345a023e37636
Reviewed-on: http://gerrit.cloudera.org:8080/13575
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Reviewed-by: Hao Hao <ha...@cloudera.com>
Tested-by: Kudu Jenkins
---
.../org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala b/java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala
index b29e734..056bb19 100644
--- a/java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala
+++ b/java/kudu-spark-tools/src/main/scala/org/apache/kudu/spark/tools/IntegrationTestBigLinkedList.scala
@@ -83,7 +83,7 @@ object IntegrationTestBigLinkedList {
}
def fail(msg: String): Nothing = {
- System.err.println(msg)
+ System.err.println(s"FAILURE: $msg")
sys.exit(1)
}