You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/05/12 23:47:00 UTC

[jira] [Reopened] (SPARK-6657) Fix Python doc build warnings

     [ https://issues.apache.org/jira/browse/SPARK-6657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng reopened SPARK-6657:
----------------------------------
      Assignee:     (was: Joseph K. Bradley)

There are some new warnings:

{code}
Users/meng/src/spark/python/pyspark/ml/feature.py:docstring of pyspark.ml.feature.RegexTokenizer.setParams:3: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/ml/feature.py:docstring of pyspark.ml.feature.Word2Vec.setParams:3: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/meng/src/spark/python/docs/pyspark.ml.rst:29: WARNING: Title underline too short.

pyspark.ml.recommendation module
-------------------------
/Users/meng/src/spark/python/docs/pyspark.ml.rst:29: WARNING: Title underline too short.

pyspark.ml.recommendation module
-------------------------
/Users/meng/src/spark/python/pyspark/ml/recommendation.py:docstring of pyspark.ml.recommendation.ALS.setParams:4: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/meng/src/spark/python/docs/pyspark.ml.rst:37: WARNING: Title underline too short.

pyspark.ml.regression module
-------------------------
/Users/meng/src/spark/python/docs/pyspark.ml.rst:37: WARNING: Title underline too short.

pyspark.ml.regression module
-------------------------
/Users/meng/src/spark/python/pyspark/ml/regression.py:docstring of pyspark.ml.regression.DecisionTreeRegressor.setParams:4: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/ml/regression.py:docstring of pyspark.ml.regression.GBTRegressor.setParams:5: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/meng/src/spark/python/pyspark/ml/regression.py:docstring of pyspark.ml.regression.LinearRegression:5: ERROR: Unexpected indentation.
/Users/meng/src/spark/python/pyspark/ml/regression.py:docstring of pyspark.ml.regression.RandomForestRegressor.setParams:5: WARNING: Definition list ends without a blank line; unexpected unindent.
/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.
{code}

> Fix Python doc build warnings
> -----------------------------
>
>                 Key: SPARK-6657
>                 URL: https://issues.apache.org/jira/browse/SPARK-6657
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, MLlib, PySpark, SQL, Streaming
>    Affects Versions: 1.3.0
>            Reporter: Joseph K. Bradley
>            Priority: Trivial
>             Fix For: 1.3.1
>
>
> Reported by [~rxin]
> {code}
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainClassifier:15: ERROR: Unexpected indentation.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainClassifier:16: WARNING: Block quote ends without a blank line; unexpected unindent.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainClassifier:18: ERROR: Unexpected indentation.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainClassifier:22: WARNING: Definition list ends without a blank line; unexpected unindent.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainClassifier:28: WARNING: Definition list ends without a blank line; unexpected unindent.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainRegressor:13: ERROR: Unexpected indentation.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainRegressor:14: WARNING: Block quote ends without a blank line; unexpected unindent.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainRegressor:16: ERROR: Unexpected indentation.
> /scratch/rxin/spark/python/pyspark/mllib/tree.py:docstring of pyspark.mllib.tree.RandomForest.trainRegressor:18: ERROR: Unexpected indentation.
> /scratch/rxin/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.collect:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
> /scratch/rxin/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.orderBy:3: WARNING: Inline interpreted text or phrase reference start-string without end-string.
> /scratch/rxin/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.sort:3: WARNING: Inline interpreted text or phrase reference start-string without end-string.
> /scratch/rxin/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.take:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
> /scratch/rxin/spark/python/docs/pyspark.streaming.rst:13: WARNING: Title underline too short.
> pyspark.streaming.kafka module
> ----------------------------
> /scratch/rxin/spark/python/docs/pyspark.streaming.rst:13: WARNING: Title underline too short.
> pyspark.streaming.kafka module
> ----------------------------
> {code}



--
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