You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexey Grishchenko (JIRA)" <ji...@apache.org> on 2015/09/02 17:07:47 UTC
[jira] [Commented] (SPARK-10397) Make Python's SparkContext
self-descriptive on "print sc"
[ https://issues.apache.org/jira/browse/SPARK-10397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727473#comment-14727473 ]
Alexey Grishchenko commented on SPARK-10397:
--------------------------------------------
I think this might be useful. But if this feature is to be implemented, it should be done for all the interactive languages (Scala, Python, R), not only for Python
> Make Python's SparkContext self-descriptive on "print sc"
> ---------------------------------------------------------
>
> Key: SPARK-10397
> URL: https://issues.apache.org/jira/browse/SPARK-10397
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 1.4.0
> Reporter: Sergey Tryuber
> Priority: Trivial
>
> When I execute in Python shell:
> {code}
> print sc
> {code}
> I receive something like:
> {noformat}
> <pyspark.context.SparkContext object at 0x35c0190>
> {noformat}
> But this is very inconvenient, especially if a user wants to create a good-looking and self-descriptive IPython Notebook. He would like to see some information about his Spark cluster.
> In contrast, H2O context does have this feature and it is very helpful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org