Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/2982#discussion_r22505034
--- Diff:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
---
@@ -69,8 +69,11 @@ class CliSuite extends FunSuite with BeforeAndAfterAll
with Logging {
}
}
+ // Propagate the current class path to the child to support *-provided
profiles.
+ val extraEnv = Seq("SPARK_TEST_PARENT_CLASS_PATH" ->
sys.props("java.class.path"))
--- End diff --
Rather than setting an env var here, could we just invoke the cli with the
correct flags (driver-class-path, etc)? We went through a lot of care to make
sure that the CLI, JDBC server, etc supported the full range of spark options.
Given that, I wonder if we can do this using the existing options instead of
introducing new env vars.
---
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]