aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests.py
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-03-02 11:48:23 +0000
committerSean Owen <sowen@cloudera.com>2016-03-02 11:48:23 +0000
commit366f26d2da0437aab99fd88b70ca12ae18958451 (patch)
tree499948d8879bfb8676e9cd63e97954d145d9b97e /dev/run-tests.py
parentb4d096ded6540c46a2b07b0b0897cbb0b43ba1e0 (diff)
downloadspark-366f26d2da0437aab99fd88b70ca12ae18958451.tar.gz
spark-366f26d2da0437aab99fd88b70ca12ae18958451.tar.bz2
spark-366f26d2da0437aab99fd88b70ca12ae18958451.zip
[MINOR][STREAMING] Replace deprecated `apply` with `create` in example.
## What changes were proposed in this pull request? Twitter Algebird deprecated `apply` in HyperLogLog.scala. ``` deprecated("Use toHLL", since = "0.10.0 / 2015-05") def apply[T <% Array[Byte]](t: T) = create(t) ``` This PR replace the deprecated usage `apply` with new `create` according to the upstream change. ## How was this patch tested? manual. ``` /bin/spark-submit --class org.apache.spark.examples.streaming.TwitterAlgebirdHLL examples/target/scala-2.11/spark-examples-2.0.0-SNAPSHOT-hadoop2.2.0.jar ``` Author: Dongjoon Hyun <dongjoon@apache.org> Closes #11451 from dongjoon-hyun/replace_deprecated_hll_apply.
Diffstat (limited to 'dev/run-tests.py')
0 files changed, 0 insertions, 0 deletions