Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Branch 1.6 #11668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Branch 1.6 #11668
Changes from 1 commit
3e39925250249eeec366023f8dfd2e45231f05bae42ddd104bfcc8cf75531c7c2f204603d801547461fe2679fcee05364bd7e3bfdfbf16da94ce502c0f0f6c352a0c823c884680d261700a39d908aa3b49e4ac562c324d38e9a60093095ebfb08f7ba2d584eac0e2ea16edd93f815127e5b8571e1adf6d168c89eaee88ebdffa61004e868b552b38f638b89bfb02e4e4af6438154567d4ad0803d509194da7542fa8466481ebedb241ad8ac1fbca41881f25488bbb54c0ab14f48dcee44df1dd49177ea3df023191dc71ec3b903e4bd33d4eeca401ed6a519fc754a08ca399854062cda5b19e7c309ef350f905d794fb5e8942c057c6c9bf95987b16b49856a4dd8712865dd8bb8da77e1fbcb6e7c7d76fa9c52d4fd2024885a8718c069ffc8dc6549cd860754e9dd16f7a3223cd02038b5a1f567f37c1e1005ee38ac91988950482d9e44385afa62bf31d0fd83fe5cf0afad66bf3dca2c3135d01756819d821fae8f0ead339b0a3411b901b94af69cd061b8534effc447a58c769a885a017b73e6ef8235a7c36360d96c54fe2cf34e4227cbfaf094ca6190508b5f2307903b0643b72d8d4cfd2ace906b33b32aa9dd2cf64a6c9c6846fc7a13221a7d4c67d5594b39f703e523ef71e5ccdcdc864f9ecd3a364f799cf6d50626f13faa4907870c67993d1855add23e57d5a0052877336685803fce53184ce8c2b67f7482c7bd43704d68265ac30f55e5962e61840fa218b5d7dbedca238ae8ae242f13a3d1f913f7e88614dd88114d3b40e58c572bc39f0c98a66ce3dd985518ed17d107196e32db84dab72bb01cbeddb96339a5b25d215d5d870fcbf6bd8efba99594b29a3d1bd53f518a4c28b4c9c0cf223c92333e81333b2f8abb45fe8796cdfb2a12f390d3a907c7c3ca5dc39b3009682fa86489818cb93f1d91b57fac591a5ca59d45ec418661a293a55f3107290cec40c5a71f53edd95089198354ca66106a616f35c4699644c85e6a22f7898f940d11d0152252f2902798d31854d0784e02573a2c906f4fcefe71cab89759963cc938acb869a11f03163e3802a75f7440bd59a08fabe8f99a57f87e8a43c3beb6f6da15de51cdcf60d7fedb8131ce2c12fa86dc4b3a512951c676e5a27129528e373f0cc511ffaf7c0704a54c18ef2f22434f16cf4e62e695c8a2bace1378ec4f1595105b0bea91a98a1bd5860cb27007ace27078c714db4795a5e08db33519ce9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
…ialize HiveContext in PySpark davies Mind to review ? This is the error message after this PR ``` 15/12/03 16:59:53 WARN ObjectStore: Failed to get database default, returning NoSuchObjectException /Users/jzhang/github/spark/python/pyspark/sql/context.py:689: UserWarning: You must build Spark with Hive. Export 'SPARK_HIVE=true' and run build/sbt assembly warnings.warn("You must build Spark with Hive. " Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jzhang/github/spark/python/pyspark/sql/context.py", line 663, in read return DataFrameReader(self) File "/Users/jzhang/github/spark/python/pyspark/sql/readwriter.py", line 56, in __init__ self._jreader = sqlContext._ssql_ctx.read() File "/Users/jzhang/github/spark/python/pyspark/sql/context.py", line 692, in _ssql_ctx raise e py4j.protocol.Py4JJavaError: An error occurred while calling None.org.apache.spark.sql.hive.HiveContext. : java.lang.RuntimeException: java.net.ConnectException: Call From jzhangMBPr.local/127.0.0.1 to 0.0.0.0:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522) at org.apache.spark.sql.hive.client.ClientWrapper.<init>(ClientWrapper.scala:194) at org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:238) at org.apache.spark.sql.hive.HiveContext.executionHive$lzycompute(HiveContext.scala:218) at org.apache.spark.sql.hive.HiveContext.executionHive(HiveContext.scala:208) at org.apache.spark.sql.hive.HiveContext.functionRegistry$lzycompute(HiveContext.scala:462) at org.apache.spark.sql.hive.HiveContext.functionRegistry(HiveContext.scala:461) at org.apache.spark.sql.UDFRegistration.<init>(UDFRegistration.scala:40) at org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:330) at org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:90) at org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:101) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:234) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381) at py4j.Gateway.invoke(Gateway.java:214) at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:79) at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:68) at py4j.GatewayConnection.run(GatewayConnection.java:209) at java.lang.Thread.run(Thread.java:745) ``` Author: Jeff Zhang <[email protected]> Closes #10126 from zjffdu/SPARK-12120. (cherry picked from commit e789b1d) Signed-off-by: Josh Rosen <[email protected]>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing