Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19535#discussion_r159020029
--- Diff: python/pyspark/streaming/flume.py ---
@@ -54,8 +54,13 @@ def createStream(ssc, hostname, port,
:param bodyDecoder: A function used to decode body (default is
utf8_decoder)
:return: A DStream object
- .. note:: Deprecated in 2.3.0
+ .. note:: Deprecated in 2.3.0. Flume support is deprecated as of
Spark 2.3.0.
+ See SPARK-22142.
"""
+ warnings.warn(
--- End diff --
Sure, I took a quick look and I think this one is actually not being
tested and seems that's why .. will double check and take a closer look tonight
(KST).
I have seen few mistakes about this so far and .. I am working on Python
coverage BTW - https://issues.apache.org/jira/browse/SPARK-7721
Anyway, it was my stupid mistake. Thanks ..
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]