Github user ahirreddy commented on a diff in the pull request:

    https://github.com/apache/spark/pull/363#discussion_r11514015
  
    --- Diff: python/pyspark/java_gateway.py ---
    @@ -64,5 +64,9 @@ def run(self):
         java_import(gateway.jvm, "org.apache.spark.api.java.*")
         java_import(gateway.jvm, "org.apache.spark.api.python.*")
         java_import(gateway.jvm, "org.apache.spark.mllib.api.python.*")
    +    java_import(gateway.jvm, "org.apache.spark.sql.SQLContext")
    +    java_import(gateway.jvm, "org.apache.spark.sql.hive.HiveContext")
    +    java_import(gateway.jvm, "org.apache.spark.sql.hive.LocalHiveContext")
    +    java_import(gateway.jvm, "org.apache.spark.sql.hive.TestHiveContext")
    --- End diff --
    
    I added an better message that tells the user they need to compile with 
Spark with Hive to use the hive context


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

Reply via email to