Github user ryan-williams commented on the pull request:
https://github.com/apache/spark/pull/4209#issuecomment-71570351
Thanks @srowen, [here's a
diff](https://gist.github.com/ryan-williams/4e9283fed8dea2ba4815#file-) that
seems to imply only changes to this dependency, but the
[before](https://gist.github.com/ryan-williams/4e9283fed8dea2ba4815#file-before)
and
[after](https://gist.github.com/ryan-williams/4e9283fed8dea2ba4815#file-after)
both failed with errors like:
```
Failed to execute goal on project spark-assembly_2.10: Could not resolve
dependencies for project
org.apache.spark:spark-assembly_2.10:pom:1.3.0-SNAPSHOT: Failure to find
org.apache.spark:spark-repl_2.10:jar:1.3.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local repository,
resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced -> [Help 1]
```
I tried again with `mvn -U dependency:tree` and the error became:
```
Failed to execute goal on project spark-assembly_2.10: Could not resolve
dependencies for project
org.apache.spark:spark-assembly_2.10:pom:1.3.0-SNAPSHOT: Could not find
artifact org.apache.spark:spark-repl_2.10:jar:1.3.0-SNAPSHOT in
apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
```
This, and my limited maven-fu made me think I need to run a `mvn install
-DskipTests` to get `mvn dependency:tree` to work, but of course I just got a
bunch of build errors on the `install` command like:
```
[error]
/Users/ryan/c/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala:314:
polymorphic expression cannot be instantiated to expected type;
[error] found : [T(in method
apply)]org.apache.spark.sql.catalyst.dsl.ScalaUdfBuilder[T(in method apply)]
[error] required:
org.apache.spark.sql.catalyst.dsl.package.ScalaUdfBuilder[T(in method
functionToUdfBuilder)]
[error] implicit def functionToUdfBuilder[T: TypeTag](func: Function1[_,
T]): ScalaUdfBuilder[T] = ScalaUdfBuilder(func)
[error]
^
```
...which tells me I probably need to `mvn clean` and try again.
---
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]