Github user QiangCai commented on the pull request:

    https://github.com/apache/spark/pull/10562#issuecomment-169056589
  
    @srowen I find error message in test bulid log, a OutOfMemoryError 
exception has happened. The code in 71 line of  the file AsyncRDDActions.scala 
is  "val results = new ArrayBuffer[T](num) ", because num(2147483638) is too 
large, JVM can't allocate enough memory space. I think I should modify unit 
test to smaller num in 2079 line of SQLQuerySuite.scala.
    
    error message:
    [info] Exception encountered when attempting to run a suite with class 
name: org.apache.spark.sql.SQLQuerySuite *** ABORTED *** (31 seconds, 447 
milliseconds)
    [info]   java.lang.OutOfMemoryError: Java heap space
    [info]   at 
scala.collection.mutable.ResizableArray$class.$init$(ResizableArray.scala:32)
    [info]   at 
scala.collection.mutable.ArrayBuffer.<init>(ArrayBuffer.scala:47)
    [info]   at 
org.apache.spark.rdd.AsyncRDDActions$$anonfun$takeAsync$1.apply(AsyncRDDActions.scala:71)
    [info]   at 
org.apache.spark.rdd.AsyncRDDActions$$anonfun$takeAsync$1.apply(AsyncRDDActions.scala:66)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    [info]   at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
    [info]   at org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
    [info]   at 
org.apache.spark.rdd.AsyncRDDActions.takeAsync(AsyncRDDActions.scala:66)
    [info]   at 
org.apache.spark.sql.SQLQuerySuite$$anonfun$132.apply$mcV$sp(SQLQuerySuite.scala:2079)
    [info]   at 
org.apache.spark.sql.SQLQuerySuite$$anonfun$132.apply(SQLQuerySuite.scala:2071)
    [info]   at 
org.apache.spark.sql.SQLQuerySuite$$anonfun$132.apply(SQLQuerySuite.scala:2071)
    ......


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to