You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/08/15 12:09:31 UTC

[GitHub] [spark] zhengruifeng commented on a diff in pull request #37517: [SPARK-40077][PYTHON][DOCS] Make pyspark.context examples self-contained

zhengruifeng commented on code in PR #37517:
URL: https://github.com/apache/spark/pull/37517#discussion_r945662857


##########
python/pyspark/context.py:
##########
@@ -531,32 +564,57 @@ def applicationId(self) -> str:
 
     @property
     def uiWebUrl(self) -> str:
-        """Return the URL of the SparkUI instance started by this SparkContext"""
+        """Return the URL of the SparkUI instance started by this `SparkContext`
+
+        .. versionadded:: 2.1.0

Review Comment:
   haha, I have tried this example, it will throw an exception since `self._jsc.sc().uiWebUrl()` is None in this case.
   Let me try to enable sparkUI



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org