[ 
https://issues.apache.org/jira/browse/SPARK-19571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863152#comment-15863152
 ] 

Felix Cheung commented on SPARK-19571:
--------------------------------------

possibly the originating point of the exception with TestHiveSparkSession:
{code}
[00:36:18]      at 
org.apache.spark.sql.hive.HiveExternalCatalog.<init>(HiveExternalCatalog.scala:65)
[00:36:18]      at 
sun.reflect.GeneratedConstructorAccessor225.newInstance(Unknown Source)
[00:36:18]      at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[00:36:18]      at 
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[00:36:18]      at 
org.apache.spark.sql.internal.SharedState$.org$apache$spark$sql$internal$SharedState$$reflect(SharedState.scala:166)
[00:36:18]      at 
org.apache.spark.sql.internal.SharedState.<init>(SharedState.scala:86)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession$$anonfun$sharedState$1.apply(TestHive.scala:144)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession$$anonfun$sharedState$1.apply(TestHive.scala:144)
[00:36:18]      at scala.Option.getOrElse(Option.scala:121)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession.sharedState$lzycompute(TestHive.scala:144)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession.sharedState(TestHive.scala:143)
[00:36:18]      at 
org.apache.spark.sql.internal.SessionState.<init>(SessionState.scala:159)
[00:36:18]      at 
org.apache.spark.sql.hive.HiveSessionState.<init>(HiveSessionState.scala:32)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSessionState.<init>(TestHive.scala:497)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession.sessionState$lzycompute(TestHive.scala:151)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession.sessionState(TestHive.scala:150)
[00:36:18]      at 
org.apache.spark.sql.hive.test.TestHiveSparkSession.sessionState(TestHive.scala:115)
[00:36:18]      at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:65)
[00:36:18]      at 
org.apache.spark.sql.SparkSession.createDataFrame(SparkSession.scala:552)
[00:36:18]      at 
org.apache.spark.sql.SparkSession.createDataFrame(SparkSession.scala:307)
[00:36:18]      at 
org.apache.spark.sql.api.r.SQLUtils$.createDF(SQLUtils.scala:139)
[00:36:18]      at org.apache.spark.sql.api.r.SQLUtils.createDF(SQLUtils.scala)
[00:36:18]      at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
{code}

> appveyor windows tests are failing
> ----------------------------------
>
>                 Key: SPARK-19571
>                 URL: https://issues.apache.org/jira/browse/SPARK-19571
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR, SQL
>    Affects Versions: 2.2.0
>            Reporter: Felix Cheung
>
> Between 
> https://ci.appveyor.com/project/ApacheSoftwareFoundation/spark/build/751-master
> https://github.com/apache/spark/commit/7a7ce272fe9a703f58b0180a9d2001ecb5c4b8db
> And
> https://ci.appveyor.com/project/ApacheSoftwareFoundation/spark/build/758-master
> https://github.com/apache/spark/commit/c618ccdbe9ac103dfa3182346e2a14a1e7fca91a
> Something is changed (not likely caused by R) such that tests running on 
> Windows are consistently failing with
> {code}
> Caused by: ERROR XSDB6: Another instance of Derby may have already booted the 
> database 
> C:\Users\appveyor\AppData\Local\Temp\1\spark-75266bb9-bd54-4ee2-ae54-2122d2c011e8\metastore.
>       at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source)
>       at org.apache.derby.iapi.error.StandardException.newException(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown
>  Source)
>       at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown 
> Source)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown
>  Source)
>       at 
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.boot(Unknown Source)
>       at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown 
> Source)
>       at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown 
> Source)
> {code}
> Since we run appveyor only when there is R changes, it is a bit harder to 
> track down which change specifically caused this.
> We also can't run appveyor on branch-2.1, so it could also be broken there.
> This could be a blocker, since it could fail tests for the R release.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to