Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/6243#issuecomment-103219847
Here's what I ran into:
- Running "mvn install -DskipTests" for everything works. Why this works is
a little of a mystery to me (since spark-sql should be building against the
shaded spark-catalyst artifact and thus fail), but...
- If you run spark-sql unit tests, they fail:
Running test.org.apache.spark.sql.JavaDataFrameSuite
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.621
sec <<< FAILURE! - in test.org.apache.spark.sql.JavaDataFrameSuite
testCreateDataFrameFromJavaBeans(test.org.apache.spark.sql.JavaDataFrameSuite)
Time elapsed: 0.028 sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.spark.sql.catalyst.JavaTypeInference$.inferDataType(Lcom/google/common/reflect/TypeToken;)Lscala/Tuple2;
at
org.apache.spark.sql.SQLContext.getSchema(SQLContext.scala:982)
at
org.apache.spark.sql.SQLContext.createDataFrame(SQLContext.scala:501)
at
org.apache.spark.sql.SQLContext.createDataFrame(SQLContext.scala:530)
at
test.org.apache.spark.sql.JavaDataFrameSuite.testCreateDataFrameFromJavaBeans(JavaDataFrameSuite.java:147)
---
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]