Github user WangTaoTheTonic commented on the pull request:
https://github.com/apache/spark/pull/4272#issuecomment-92720333
@tsingfu Okay I tested it too and the error meesage is:
>[INFO] compiler plugin:
BasicArtifact(org.scalamacros,paradise_2.10.4,2.0.1,null)
^[[0m[^[[0minfo^[[0m] ^[[0mCompiling 8 Scala sources to
/home/wangtao111/github/spark/sql/hive-thriftserver/target/scala-2.10/classes...^[[0m
^[[0m[^[[31merror^[[0m] ^[[0mbad symbolic reference. A signature in
Utils.class refers to term util^[[0m
^[[0m[^[[31merror^[[0m] ^[[0min package com.google.common which is not
available.^[[0m
^[[0m[^[[31merror^[[0m] ^[[0mIt may be completely missing from the current
classpath, or the version on^[[0m
^[[0m[^[[31merror^[[0m] ^[[0mthe classpath might be incompatible with the
version used when compiling Utils.class.^[[0m
^[[0m[^[[31merror^[[0m] ^[[0m^[[0m
^[[0m[^[[31merror^[[0m] ^[[0m while compiling:
/home/wangtao111/github/spark/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala^[[0m
^[[0m[^[[31merror^[[0m] ^[[0m during phase: erasure^[[0m
^[[0m[^[[31merror^[[0m] ^[[0m library version: version 2.10.4^[[0m
^[[0m[^[[31merror^[[0m] ^[[0m compiler version: version 2.10.4^[[0m
The build command is: ` mvn -Pbigtop-dist -Phive-thriftserver -Phive
-Pyarn -Phadoop-2.4 -Dhadoop.version=2.6.0 -DskipTests clean package`
Seems like `SparkSQLEnv.scala` used `Utils.class` and there is `import
com.google.common.xxx` in `Utils.scala`. So if we shaded guava in core module
there will come some problem?
---
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]