GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/6221
[SPARK-6657] [PYSPARK] Fix doc warnings
Fixed the following warnings in `make clean html` under `python/docs`:
~~~
/Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of
pyspark.mllib.evaluation.RankingMetrics.ndcgAt:3: ERROR: Unexpected indentation.
/Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of
pyspark.mllib.evaluation.RankingMetrics.ndcgAt:4: WARNING: Block quote ends
without a blank line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of
pyspark.mllib.fpm.FPGrowth.train:3: ERROR: Unexpected indentation.
/Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of
pyspark.mllib.fpm.FPGrowth.train:4: WARNING: Block quote ends without a blank
line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/sql/__init__.py:docstring of
pyspark.sql.DataFrame.replace:16: WARNING: Field list ends without a blank
line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of
pyspark.streaming.kafka.KafkaUtils.createRDD:8: ERROR: Unexpected indentation.
/Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of
pyspark.streaming.kafka.KafkaUtils.createRDD:9: WARNING: Block quote ends
without a blank line; unexpected unindent.
~~~
@davies
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-6657
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6221.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6221
----
commit 2b4371e695cfe7a2d8670ae0949f3cb992a08549
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-17T21:45:57Z
fix mllib python doc warnings
commit 606f9fabed6f29acf23dd6bd39cea7983a8dccbd
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-17T21:48:48Z
fix sql and streaming doc warnings
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]