From 1dce2d7d597a33a368709392a51895370ca1cc05 Mon Sep 17 00:00:00 2001 From: windpiger Date: Wed, 22 Feb 2017 19:35:19 +0800 Subject: [PATCH] add log to find out why jenkins failed --- .../org/apache/spark/sql/sources/BucketedWriteSuite.scala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala index 2fd532d631d86..b2aba3ffac2f5 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala @@ -92,6 +92,11 @@ abstract class BucketedWriteSuite extends QueryTest with SQLTestUtils { def tableDir: File = { val identifier = spark.sessionState.sqlParser.parseTableIdentifier("bucketed_table") + val x = spark.sessionState.catalog.defaultTablePath(identifier) + val y = s"file:$x" + val z = URI.create(y) + println(s"tableDir $x,$y,$z") + new File(URI.create(s"file:${spark.sessionState.catalog.defaultTablePath(identifier)}")) }