[
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822722#comment-15822722
]
Hyukjin Kwon commented on SPARK-3249:
-------------------------------------
It prints as below after building this via {{jekyll build}} :
{code}
[warn] .../spark/core/src/main/scala/org/apache/spark/Accumulator.scala:20: The
link target "SparkContext#accumulator" is ambiguous. Several members fit the
target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala:281:
The link target "runMiniBatchSGD" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/fpm/AssociationRules.scala:83:
The link target "run" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/fpm/FPGrowth.scala:221:
The link target "run" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala:148:
The link target "org.apache.spark.mllib.util.MLUtils#loadLibSVMFile" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:239:
The link target "RandomRDDs#exponentialJavaRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:227:
The link target "RandomRDDs#exponentialJavaRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:750:
The link target "RandomRDDs#exponentialJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:737:
The link target "RandomRDDs#exponentialJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:298:
The link target "RandomRDDs#gammaJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:285:
The link target "RandomRDDs#gammaJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:819:
The link target "RandomRDDs#gammaJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:805:
The link target "RandomRDDs#gammaJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:361:
The link target "RandomRDDs#logNormalJavaRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:348:
The link target "RandomRDDs#logNormalJavaRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:621:
The link target "RandomRDDs#logNormalJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:607:
The link target "RandomRDDs#logNormalJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:129:
The link target "RandomRDDs#normalJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:121:
The link target "RandomRDDs#normalJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:554:
The link target "RandomRDDs#normalJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:542:
The link target "RandomRDDs#normalJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:184:
The link target "RandomRDDs#poissonJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:172:
The link target "RandomRDDs#poissonJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:686:
The link target "RandomRDDs#poissonJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:673:
The link target "RandomRDDs#poissonJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:434:
The link target "RandomRDDs#randomJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:420:
The link target "RandomRDDs#randomJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:889:
The link target "RandomRDDs#randomJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:874:
The link target "RandomRDDs#randomJavaVectorRDD" is ambiguous. Several members
fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:79:
The link target "RandomRDDs#uniformJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:71:
The link target "RandomRDDs#uniformJavaRDD" is ambiguous. Several members fit
the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:496:
The link target "RandomRDDs#uniformJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:484:
The link target "RandomRDDs#uniformJavaVectorRDD" is ambiguous. Several
members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/RandomForest.scala:174:
The link target "org.apache.spark.mllib.tree.RandomForest$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/RandomForest.scala:261:
The link target "org.apache.spark.mllib.tree.RandomForest$#trainRegressor" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:151:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:122:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:95:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:74:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:220:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:264:
The link target "org.apache.spark.mllib.tree.DecisionTree$#trainRegressor" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/tree/GradientBoostedTrees.scala:138:
The link target "org.apache.spark.mllib.tree.GradientBoostedTrees$#train" is
ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala:239:
The link target "logLikelihood" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala:262:
The link target "logPerplexity" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala:416:
The link target "topicDistributions" is ambiguous. Several members fit the
target:
[warn] .../spark/graphx/src/main/scala/org/apache/spark/graphx/Graph.scala:332:
The link target "partitionBy" is ambiguous. Several members fit the target:
[warn]
.../spark/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala:437: The
link target "org.apache.spark.graphx.lib.ConnectedComponents$#run" is
ambiguous. Several members fit the target:
[warn]
.../spark/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala:427: The
link target "org.apache.spark.graphx.lib.ConnectedComponents$#run" is
ambiguous. Several members fit the target:
[warn] .../spark/mllib/src/main/scala/org/apache/spark/ml/Pipeline.scala:84:
The link target "Pipeline#fit" is ambiguous. Several members fit the target:
[warn]
.../spark/mllib/src/main/scala/org/apache/spark/ml/param/params.scala:730: The
link target "extractParamMap" is ambiguous. Several members fit the target:
[warn] .../spark/mllib/src/main/scala/org/apache/spark/ml/Pipeline.scala:122:
The link target "Estimator#fit" is ambiguous. Several members fit the target:
[warn]
.../spark/sql/core/src/main/scala/org/apache/spark/sql/functions.scala:643: The
link target "stddev_samp" is ambiguous. Several members fit the target:
[warn]
.../spark/sql/core/src/main/scala/org/apache/spark/sql/functions.scala:635: The
link target "stddev_samp" is ambiguous. Several members fit the target:
[warn]
.../spark/sql/core/src/main/scala/org/apache/spark/sql/functions.scala:727: The
link target "var_samp" is ambiguous. Several members fit the target:
[warn]
.../spark/sql/core/src/main/scala/org/apache/spark/sql/functions.scala:719: The
link target "var_samp" is ambiguous. Several members fit the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala:442:
The link target "org.apache.spark.api.java.JavaRDDLike#treeAggregate" is
ambiguous. Several members fit the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala:395:
The link target "org.apache.spark.api.java.JavaRDDLike#treeReduce" is
ambiguous. Several members fit the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/api/java/JavaPairRDD.scala:183:
The link target "sampleByKey" is ambiguous. Several members fit the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/api/java/JavaPairRDD.scala:165:
The link target "sampleByKey" is ambiguous. Several members fit the target:
[warn] .../spark/core/src/main/scala/org/apache/spark/rdd/RDD.scala:1840: The
link target "PairRDDFunctions.reduceByKey" is ambiguous. Several members fit
the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/rdd/PairRDDFunctions.scala:606:
The link target "combineByKeyWithClassTag" is ambiguous. Several members fit
the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/rdd/PairRDDFunctions.scala:125:
The link target "combineByKeyWithClassTag" is ambiguous. Several members fit
the target:
[warn]
.../spark/core/src/main/scala/org/apache/spark/rdd/PairRDDFunctions.scala:107:
The link target "combineByKeyWithClassTag" is ambiguous. Several members fit
the target:
{code}
I think this is fixable now. Let me give a shot if no one is going to do this.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]