diff options
author | Jeff Zhang <zjffdu@apache.org> | 2015-08-11 10:42:17 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-08-11 10:42:17 -0700 |
commit | bce72797f3499f14455722600b0d0898d4fd87c9 (patch) | |
tree | c36ee41ef3a02f73c6a7bfedc0a6d98f239ff928 | |
parent | dfe347d2cae3eb05d7539aaf72db3d309e711213 (diff) | |
download | spark-bce72797f3499f14455722600b0d0898d4fd87c9.tar.gz spark-bce72797f3499f14455722600b0d0898d4fd87c9.tar.bz2 spark-bce72797f3499f14455722600b0d0898d4fd87c9.zip |
Fix comment error
API is updated but its doc comment is not updated.
Author: Jeff Zhang <zjffdu@apache.org>
Closes #8097 from zjffdu/dev.
-rw-r--r-- | core/src/main/scala/org/apache/spark/SparkContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/SparkContext.scala b/core/src/main/scala/org/apache/spark/SparkContext.scala index 9ced44131b..6aafb4c564 100644 --- a/core/src/main/scala/org/apache/spark/SparkContext.scala +++ b/core/src/main/scala/org/apache/spark/SparkContext.scala @@ -866,7 +866,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli * }}} * * Do - * `val rdd = sparkContext.dataStreamFiles("hdfs://a-hdfs-path")`, + * `val rdd = sparkContext.binaryFiles("hdfs://a-hdfs-path")`, * * then `rdd` contains * {{{ |