You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2017/01/30 13:04:44 UTC

[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline ann...

GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/16741

    [WIP][SPARK-19402][DOCS] Support LaTex inline annotation correctly and fix warnings in Scala/Java APIs generation

    ## What changes were proposed in this pull request?
    
    This PR proposes three things as below:
    
    - Support inline-expression, `\( ... \)` in Scala API documentation
      It seems currently,  
    
      ```
      \( ... \)
      ```
    
      are rendered as they are, for example,
    
      <img width="345" alt="2017-01-30 10 01 13" src="https://cloud.githubusercontent.com/assets/6477701/22423960/ab37d54a-e737-11e6-9196-4f6229c0189c.png">
    
      It seems mistakenly more backslashes were added.
    
    - Fix warnings Scaladoc/Javadoc generation
      This PR fixes three types of warnings as below:
    
      ```
      [warn] .../spark/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala:335: Could not find any member to link for "UnsupportedOperationException".
      [warn]   /**
      [warn]   ^
      ```
    
      ```
      [warn] .../spark/sql/core/src/main/scala/org/apache/spark/sql/internal/VariableSubstitution.scala:24: Variable var undefined in comment for class VariableSubstitution in class VariableSubstitution
      [warn]  * `${var}`, `${system:var}` and `${env:var}`.
      [warn]      ^
      ```
    
      ```
      [warn] .../spark/core/src/main/scala/org/apache/spark/scheduler/package.scala:20: Could not find any member to link for "org.apache.spark.scheduler.DAGScheduler".
      [warn]   /**
      [warn]   ^
      ```
    
    - Fix Javadoc8 break
      ```
      [error] .../spark/mllib/target/java/org/apache/spark/ml/PredictionModel.java:7: error: reference not found
      [error]  *                       E.g., {@link VectorUDT} for vector features.
      [error]                                       ^
      [error] .../spark/mllib/target/java/org/apache/spark/ml/PredictorParams.java:12: error: reference not found
      [error]    *                          E.g., {@link VectorUDT} for vector features.
      [error]                                            ^
      [error] .../spark/mllib/target/java/org/apache/spark/ml/Predictor.java:10: error: reference not found
      [error]  *                       E.g., {@link VectorUDT} for vector features.
      [error]                                       ^
      [error] .../spark/sql/hive/target/java/org/apache/spark/sql/hive/HiveAnalysis.java:5: error: reference not found
      [error]  * Note that, this rule must be run after {@link PreprocessTableInsertion}.
      [error]                                                  ^
      ```
    
    ## How was this patch tested?
    
    Manually via `sbt unidoc` and `jeykil build`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark warn-and-break

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16741.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 #16741
    
----
commit 0880b9b1c3488f57e54b689b72b5aafdab18d02f
Author: hyukjinkwon <gu...@gmail.com>
Date:   2017-01-30T10:54:01Z

    Fix warnings and javadoc8 break

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72156 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72156/testReport)** for PR 16741 at commit [`7e6e521`](https://github.com/apache/spark/commit/7e6e52133fca915972ab84e24b5782c07bb88f91).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    I don't think it's a matter of fully-qualified names; it knows what the type is just thinks it can't find it for some reason and raises a warning/error.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    merged to master


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72157 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72157/testReport)** for PR 16741 at commit [`90bf25b`](https://github.com/apache/spark/commit/90bf25b9c89433da3d80b76d9f4b20d9adb186d8).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Oh, wait.... it seems case-by-case. Let me leave some before-after image with some explanation soon.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    I mean.. it'd be surely better to change it to back-ticks if this breaks but it just warns.. (It is funny that I am saying my proposal should be fixed though). Let me follow your lead please.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Yes, it can't find. I trieid several possible combinations such as fully qualified name, [[ .. ]] and scala specific notations but I had no luck. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72157/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [SPARK-19402][DOCS] Support LaTex inline formula ...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r100924150
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala ---
    @@ -135,13 +135,13 @@ abstract class MLWriter extends BaseReadWrite with Logging {
     }
     
     /**
    - * Trait for classes that provide [[MLWriter]].
    + * Trait for classes that provide `MLWriter`.
    --- End diff --
    
    Hmm. That's weird. At least, it should warn because I copied and pasted each class names from the messages and went to the line number. Let me double check and be back. Maybe, I made mistakes for few.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72156/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98464912
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/optimization/Gradient.scala ---
    @@ -93,9 +93,9 @@ abstract class Gradient extends Serializable {
      *    $$
      * </blockquote>
      *
    - * where $\alpha(i) = 1$ if $i \ne 0$, and
    - *       $\alpha(i) = 0$ if $i == 0$,
    - *       $margins_i = x w_i$.
    + * where $\alpha(i) = 1$ if \(i \ne 0\), and
    + *       $\alpha(i) = 0$ if \(i == 0\),
    + *       \(margins_i = x w_i\).
    --- End diff --
    
    <img width="419" alt="2017-01-31 12 29 18" src="https://cloud.githubusercontent.com/assets/6477701/22428979/66aeb79e-e74c-11e6-8345-e98b229f8737.png">



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98464851
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/optimization/Gradient.scala ---
    @@ -78,7 +78,7 @@ abstract class Gradient extends Serializable {
      *
      * for K classes multiclass classification problem.
      *
    - * The model weights $w = (w_1, w_2, ..., w_{K-1})^T$ becomes a matrix which has dimension of
    + * The model weights \(w = (w_1, w_2, ..., w_{K-1})^T\) becomes a matrix which has dimension of
    --- End diff --
    
    <img width="209" alt="2017-01-31 12 28 42" src="https://cloud.githubusercontent.com/assets/6477701/22428970/59baa8c2-e74c-11e6-9102-09292f6ae189.png">



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98464968
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/optimization/Gradient.scala ---
    @@ -110,18 +110,19 @@ abstract class Gradient extends Serializable {
      *    $$
      * </blockquote>
      *
    - * where $\delta_{i, j} = 1$ if $i == j$,
    - *       $\delta_{i, j} = 0$ if $i != j$, and
    + * where $\delta_{i, j} = 1$ if \(i == j\),
    + *       $\delta_{i, j} = 0$ if \(i != j\), and
    --- End diff --
    
    <img width="741" alt="2017-01-31 12 29 02" src="https://cloud.githubusercontent.com/assets/6477701/22428989/6ccd48b6-e74c-11e6-9609-8bb251d70ba7.png">



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72152/
    Test FAILed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [SPARK-19402][DOCS] Support LaTex inline formula ...

Posted by jkbradley <gi...@git.apache.org>.
Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r100900474
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala ---
    @@ -135,13 +135,13 @@ abstract class MLWriter extends BaseReadWrite with Logging {
     }
     
     /**
    - * Trait for classes that provide [[MLWriter]].
    + * Trait for classes that provide `MLWriter`.
    --- End diff --
    
    @HyukjinKwon Are you sure this is a problem?  I just tried generating the docs using Java 8, and the link with ```[[MLWriter]]``` worked for both Scala and Java.  Maybe it is fine for some cases (like this, where MLWriter is part of the package being compiled) and not for other cases (such as when the class is from a dependency).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72152 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72152/testReport)** for PR 16741 at commit [`0880b9b`](https://github.com/apache/spark/commit/0880b9b1c3488f57e54b689b72b5aafdab18d02f).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Actually, I am still neutral on this and confused which way is more correct. It warns anyhow but IMHO changing `[[` to back-ticks which are super strictly a little bit worse because `[[` at least have some links in Scaladoc.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98463736
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -262,7 +262,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
       /**
        * Get a time parameter as seconds; throws a NoSuchElementException if it's not set. If no
        * suffix is provided then seconds are assumed.
    -   * @throws java.util.NoSuchElementException
    +   * @throws java.util.NoSuchElementException If the time parameter is not set
    --- End diff --
    
    **Before**
    
    - Scaladoc
      <img width="346" alt="2017-01-31 12 24 09" src="https://cloud.githubusercontent.com/assets/6477701/22428775/ab12a338-e74b-11e6-985a-159eb404e445.png">
    
    - Javadoc
      <img width="327" alt="2017-01-31 12 01 57" src="https://cloud.githubusercontent.com/assets/6477701/22428675/4c918644-e74b-11e6-9038-3fb89fe2d3d8.png">
    
    **After**
    
    - Scaladoc
      <img width="579" alt="2017-01-31 12 23 31" src="https://cloud.githubusercontent.com/assets/6477701/22428741/8729d4c8-e74b-11e6-8433-a37f04961131.png">
    
    - Javadoc
      <img width="593" alt="2017-01-31 12 22 58" src="https://cloud.githubusercontent.com/assets/6477701/22428742/872c98ac-e74b-11e6-8940-78e528ece3f9.png">



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98437443
  
    --- Diff: core/src/main/scala/org/apache/spark/FutureAction.scala ---
    @@ -58,7 +58,7 @@ trait FutureAction[T] extends Future[T] {
        *
        * @param atMost maximum wait time, which may be negative (no waiting is done), Duration.Inf
        *               for unbounded waiting, or a finite positive duration
    -   * @throws Exception exception during action execution
    +   * @note Throws `Exception` exception during action execution
    --- End diff --
    
    Ugh, this still generates warnings in unidoc? Does it actually render correctly anyway?
    
    If it renders correctly, I'm inclined to keep it, as long as it doesn't fail the build.
    If it didn't render correctly to begin with, OK.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72156 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72156/testReport)** for PR 16741 at commit [`7e6e521`](https://github.com/apache/spark/commit/7e6e52133fca915972ab84e24b5782c07bb88f91).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    @srowen, let me just leave this PR as a minor without a JIRA for actual errors here.
    
    Let consider the warning changes later when I happened to be pretty sure of it, if someone raises this issue again or whichever event happens about this .


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98463985
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -262,7 +262,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
       /**
        * Get a time parameter as seconds; throws a NoSuchElementException if it's not set. If no
        * suffix is provided then seconds are assumed.
    -   * @throws java.util.NoSuchElementException
    +   * @throws java.util.NoSuchElementException If the time parameter is not set
    --- End diff --
    
    And.. here is my observation so far.
    
    | Link style                                  | Scaladoc       | Javadoc     | Link          | Error/Warn | etc.                                                |
    | ------------------------------------------- | -------------- | ----------- | ------------- | ---------- | --------------------------------------------------- |
    | `DataFrame`                                 | Renders OK     | Renders OK  | X             | X          |                                                     |
    | `[[DataFrame]]`                             | Renders OK     | Renders OK  | Scaladoc only | Error      | Fixed in https://github.com/apache/spark/pull/16013 |
    | `@throws IllegalArgumentException` ...         | Renders OK     | Renders OK  | X             | Warn       |                                                     |
    | `@throws java.util.NoSuchElementException` ...  | Renders OK     | Renders OK  | X             | Warn       |                                                     |
    | `@throws java.util.NoSuchElementException` [NO DESCRIPTION]  | X     | Renders OK  | X             | Warn       | Fixed here                                              |



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [SPARK-19402][DOCS] Support LaTex inline formula ...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r100958021
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala ---
    @@ -135,13 +135,13 @@ abstract class MLWriter extends BaseReadWrite with Logging {
     }
     
     /**
    - * Trait for classes that provide [[MLWriter]].
    + * Trait for classes that provide `MLWriter`.
    --- End diff --
    
    @jkbradley, Yes, it seems fine for both.
    
    I think I changed them given `sealed trait BaseReadWrite`...
    
    ```
    [warn] .../spark/mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala:143: Could not find any member to link for "MLWriter".
    [warn]   /**
    [warn]   ^
    ```
    
    and I think I swept them here as they looked identical. I am okay to revive identified ones back.
    
    My (maybe nitpicking) concern is, we should be able to identify the cases explicitly which I guess I and many guys failed and also what to do in each case. Otherwise, I think we should prefer backquotes because even if reviving links might work for now for some cases, we could easily introduce other breaks again when we change the codes.
    
    



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [SPARK-19402][DOCS] Support LaTex inline formula ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/16741


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Merged build finished. Test FAILed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98441292
  
    --- Diff: core/src/main/scala/org/apache/spark/FutureAction.scala ---
    @@ -58,7 +58,7 @@ trait FutureAction[T] extends Future[T] {
        *
        * @param atMost maximum wait time, which may be negative (no waiting is done), Duration.Inf
        *               for unbounded waiting, or a finite positive duration
    -   * @throws Exception exception during action execution
    +   * @note Throws `Exception` exception during action execution
    --- End diff --
    
    Yes.. It seems fine although it does not have a link.
    
    - Scaladoc
      <img width="459" alt="2017-01-30 10 34 38" src="https://cloud.githubusercontent.com/assets/6477701/22424970/53377738-e73c-11e6-9aac-ac3cabc57e42.png">
    
    - Javadoc
      <img width="362" alt="2017-01-30 10 35 36" src="https://cloud.githubusercontent.com/assets/6477701/22425007/711806be-e73c-11e6-9cc2-580682cabc21.png">
    
    Let me revert back those changes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by jkbradley <gi...@git.apache.org>.
Github user jkbradley commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Thanks for these many cleanups!  It's a shame to lose links.  Do you think we should use fully qualified names rather than abandoning the links?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline for...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16741#discussion_r98441602
  
    --- Diff: core/src/main/scala/org/apache/spark/FutureAction.scala ---
    @@ -58,7 +58,7 @@ trait FutureAction[T] extends Future[T] {
        *
        * @param atMost maximum wait time, which may be negative (no waiting is done), Duration.Inf
        *               for unbounded waiting, or a finite positive duration
    -   * @throws Exception exception during action execution
    +   * @note Throws `Exception` exception during action execution
    --- End diff --
    
    I see. Yeah it's unfortunate that this (and other) classes aren't found by unidoc. They're JDK classes! I don't see what we could be doing wrong though,
    
    In other cases it's easy enough to change `[[` to a back-tick to work around the warning. Here you'd have to mis-use scaladoc a bit to work around it. I think you could leave this, IMHO. The other `[[` changes make sense.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72157 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72157/testReport)** for PR 16741 at commit [`90bf25b`](https://github.com/apache/spark/commit/90bf25b9c89433da3d80b76d9f4b20d9adb186d8).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [SPARK-19402][DOCS] Support LaTex inline formula correct...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    Thank you @srowen!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16741: [WIP][SPARK-19402][DOCS] Support LaTex inline formula co...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16741
  
    **[Test build #72152 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72152/testReport)** for PR 16741 at commit [`0880b9b`](https://github.com/apache/spark/commit/0880b9b1c3488f57e54b689b72b5aafdab18d02f).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org