Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6435#discussion_r31126989
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala ---
    @@ -188,8 +189,19 @@ class HiveContext(sc: SparkContext) extends 
SQLContext(sc) {
               "Specify a vaild path to the correct hive jars using 
$HIVE_METASTORE_JARS " +
               s"or change $HIVE_METASTORE_VERSION to $hiveExecutionVersion.")
           }
    -      val jars = getClass.getClassLoader match {
    -        case urlClassLoader: java.net.URLClassLoader => 
urlClassLoader.getURLs
    +      // We recursively add all jars in the class loader chain,
    +      // starting from the given urlClassLoader.
    +      def addJars(urlClassLoader: URLClassLoader): Array[URL] = {
    --- End diff --
    
    `addJars` => some more meaningful name?


---
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