spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
Date Tue, 17 Jan 2017 12:29:26 GMT

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

Sean Owen resolved SPARK-3249.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

Issue resolved by pull request 16604
[https://github.com/apache/spark/pull/16604]

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> ---------------------------------------------------------------------
>
>                 Key: SPARK-3249
>                 URL: https://issues.apache.org/jira/browse/SPARK-3249
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation, MLlib
>    Affects Versions: 1.1.0
>            Reporter: Xiangrui Meng
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> If there are multiple overloaded versions of a method, we should make the links more
specific. Otherwise, `sbt/sbt unidoc` generates warning messages like the following:
> {code}
> [warn] mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The link
target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is ambiguous. Several members
fit the target:
> [warn] (input: org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: String,maxDepth: Int,maxBins:
Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree [chosen]
> [warn] (input: org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel
in object DecisionTree
> {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


Mime
View raw message