You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/05 00:11:46 UTC

[GitHub] [spark] maropu opened a new pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

maropu opened a new pull request #31745:
URL: https://github.com/apache/spark/pull/31745


   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
     2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
     4. Be sure to keep the PR description updated to reflect all changes.
     5. Please write your PR title to summarize what this PR proposes.
     6. If possible, provide a concise example to reproduce the issue for a faster review.
     7. If you want to add a new configuration, please read the guideline first for naming configurations in
        'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. 
   If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
     1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
     2. If you fix some SQL features, you can provide some references of other DBMSes.
     3. If there is design documentation, please add the link.
     4. If there is a discussion in the mailing list, please add the link.
   -->
   
   This PR intends to fix a bug of `objects.NewInstance` if a user runs Spark on jdk8u and a given `cls` in `NewInstance` is a deeply-nested inner class, e.g.,.
   ```
     object OuterLevelWithVeryVeryVeryLongClassName1 {
       object OuterLevelWithVeryVeryVeryLongClassName2 {
         object OuterLevelWithVeryVeryVeryLongClassName3 {
           object OuterLevelWithVeryVeryVeryLongClassName4 {
             object OuterLevelWithVeryVeryVeryLongClassName5 {
               object OuterLevelWithVeryVeryVeryLongClassName6 {
                 object OuterLevelWithVeryVeryVeryLongClassName7 {
                   object OuterLevelWithVeryVeryVeryLongClassName8 {
                     object OuterLevelWithVeryVeryVeryLongClassName9 {
                       object OuterLevelWithVeryVeryVeryLongClassName10 {
                         object OuterLevelWithVeryVeryVeryLongClassName11 {
                           object OuterLevelWithVeryVeryVeryLongClassName12 {
                             object OuterLevelWithVeryVeryVeryLongClassName13 {
                               object OuterLevelWithVeryVeryVeryLongClassName14 {
                                 object OuterLevelWithVeryVeryVeryLongClassName15 {
                                   object OuterLevelWithVeryVeryVeryLongClassName16 {
                                     object OuterLevelWithVeryVeryVeryLongClassName17 {
                                       object OuterLevelWithVeryVeryVeryLongClassName18 {
                                         object OuterLevelWithVeryVeryVeryLongClassName19 {
                                           object OuterLevelWithVeryVeryVeryLongClassName20 {
                                             case class MalformedNameExample2(x: Int)
                                           }}}}}}}}}}}}}}}}}}}}
   ```
   
   The root cause that Kris (@rednaxelafx) investigated is as follows (Kudos to Kris);
   
   The reason why the test case above is so convoluted is in the way Scala generates the class name for nested classes. In general, Scala generates a class name for a nested class by inserting the dollar-sign ( `$` ) in between each level of class nesting. The problem is that this format can concatenate into a very long string that goes beyond certain limits, so Scala will change the class name format beyond certain length threshold.
   
   For the example above, we can see that the first two levels of class nesting have class names that look like this:
   ```
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassName1$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassName1$OuterLevelWithVeryVeryVeryLongClassName2$
   ```
   If we leave out the fact that Scala uses a dollar-sign ( `$` ) suffix for the class name of the companion object, `OuterLevelWithVeryVeryVeryLongClassName1`'s full name is a prefix (substring) of `OuterLevelWithVeryVeryVeryLongClassName2`.
   
   But if we keep going deeper into the levels of nesting, you'll find names that look like:
   ```
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$2a1321b953c615695d7442b2adb1$$$$ryVeryLongClassName8$OuterLevelWithVeryVeryVeryLongClassName9$OuterLevelWithVeryVeryVeryLongClassName10$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$2a1321b953c615695d7442b2adb1$$$$ryVeryLongClassName8$OuterLevelWithVeryVeryVeryLongClassName9$OuterLevelWithVeryVeryVeryLongClassName10$OuterLevelWithVeryVeryVeryLongClassName11$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$85f068777e7ecf112afcbe997d461b$$$$VeryLongClassName11$OuterLevelWithVeryVeryVeryLongClassName12$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$85f068777e7ecf112afcbe997d461b$$$$VeryLongClassName11$OuterLevelWithVeryVeryVeryLongClassName12$OuterLevelWithVeryVeryVeryLongClassName13$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$85f068777e7ecf112afcbe997d461b$$$$VeryLongClassName11$OuterLevelWithVeryVeryVeryLongClassName12$OuterLevelWithVeryVeryVeryLongClassName13$OuterLevelWithVeryVeryVeryLongClassName14$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$5f7ad51804cb1be53938ea804699fa$$$$VeryLongClassName14$OuterLevelWithVeryVeryVeryLongClassName15$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$5f7ad51804cb1be53938ea804699fa$$$$VeryLongClassName14$OuterLevelWithVeryVeryVeryLongClassName15$OuterLevelWithVeryVeryVeryLongClassName16$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$5f7ad51804cb1be53938ea804699fa$$$$VeryLongClassName14$OuterLevelWithVeryVeryVeryLongClassName15$OuterLevelWithVeryVeryVeryLongClassName16$OuterLevelWithVeryVeryVeryLongClassName17$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$69b54f16b1965a31e88968df1a58d8$$$$VeryLongClassName17$OuterLevelWithVeryVeryVeryLongClassName18$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$69b54f16b1965a31e88968df1a58d8$$$$VeryLongClassName17$OuterLevelWithVeryVeryVeryLongClassName18$OuterLevelWithVeryVeryVeryLongClassName19$
   org.apache.spark.sql.catalyst.encoders.ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassNam$$$$69b54f16b1965a31e88968df1a58d8$$$$VeryLongClassName17$OuterLevelWithVeryVeryVeryLongClassName18$OuterLevelWithVeryVeryVeryLongClassName19$OuterLevelWithVeryVeryVeryLongClassName20$
   ```
   with a hash code in the middle and various levels of nesting omitted.
   
   The `java.lang.Class.isMemberClass` method is implemented in JDK8u as:
   http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/tip/src/share/classes/java/lang/Class.java#l1425
   ```
       /**
        * Returns {@code true} if and only if the underlying class
        * is a member class.
        *
        * @return {@code true} if and only if this class is a member class.
        * @since 1.5
        */
       public boolean isMemberClass() {
           return getSimpleBinaryName() != null && !isLocalOrAnonymousClass();
       }
   
       /**
        * Returns the "simple binary name" of the underlying class, i.e.,
        * the binary name without the leading enclosing class name.
        * Returns {@code null} if the underlying class is a top level
        * class.
        */
       private String getSimpleBinaryName() {
           Class<?> enclosingClass = getEnclosingClass();
           if (enclosingClass == null) // top level class
               return null;
           // Otherwise, strip the enclosing class' name
           try {
               return getName().substring(enclosingClass.getName().length());
           } catch (IndexOutOfBoundsException ex) {
               throw new InternalError("Malformed class name", ex);
           }
       }
   ```
   and the problematic code is `getName().substring(enclosingClass.getName().length())` -- if a class's enclosing class's full name is *longer* than the nested class's full name, this logic would end up going out of bounds.
   
   The bug has been fixed in JDK9 by https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8057919 , but still exists in the latest JDK8u release. So from the Spark side we'd need to do something to avoid hitting this problem.
   
   This is the backport of #31733.
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   Bugfix on jdk8u.
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   No.
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   -->
   Added tests.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] AmplabJenkins commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791113901


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135781/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791166401


   We need both patches together because that one also causes UT failure in branch-3.1 and is reverted. Let me handle it manually. (cc @HyukjinKwon and @rednaxelafx )


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] AmplabJenkins commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791088513


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40363/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791167421


   Hmm. I cherry-pick it again, but this causes conflicts. Could you update this PR, @maropu ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] SparkQA removed a comment on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791058949


   **[Test build #135781 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135781/testReport)** for PR 31745 at commit [`f72a4e3`](https://github.com/apache/spark/commit/f72a4e326c21d01a1a663da0c7f0f959f93cc5ad).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] SparkQA commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791088499


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40363/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun edited a comment on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun edited a comment on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791167421






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791165929


   Yes, I verified that this passes with that patch, @maropu .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] SparkQA commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791102991


   **[Test build #135781 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135781/testReport)** for PR 31745 at commit [`f72a4e3`](https://github.com/apache/spark/commit/f72a4e326c21d01a1a663da0c7f0f959f93cc5ad).
    * This patch **fails Spark unit tests**.
    * This patch merges cleanly.
    * This patch adds the following public classes _(experimental)_:
     * `   * inner class (See SPARK-34607 for details). This issue has already been fixed in jdk9+, so`
     * `        // `getSimpleBinaryName()` returns null if a given class is a top-level class,`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791197012


   https://github.com/apache/spark/commit/f3caba1f8d649889713de4824412a3ee2666bc6f


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791099282


   Hi, @maropu .
   The newly added UT fails. Could you check that, please?
   ```
   sbt.ForkMain$ForkError: java.lang.InternalError: Malformed class name
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] SparkQA commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791074382


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40363/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791113901


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135781/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] maropu commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791100327


   @dongjoon-hyun Ah, ok. Looks like the added test in this PR hit the issue handled in #31709. So, I think we need to backport it before merging this PR.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] SparkQA commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791058949


   **[Test build #135781 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135781/testReport)** for PR 31745 at commit [`f72a4e3`](https://github.com/apache/spark/commit/f72a4e326c21d01a1a663da0c7f0f959f93cc5ad).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791196822


   Never mind, @maropu . I merged this manually by resolve conflicts.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791088513


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40363/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun closed pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #31745:
URL: https://github.com/apache/spark/pull/31745


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [spark] dongjoon-hyun commented on pull request #31745: [SPARK-34607][SQL][3.1] Add `Utils.isMemberClass` to fix a malformed class name error on jdk8u

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #31745:
URL: https://github.com/apache/spark/pull/31745#issuecomment-791630786


   For the record,
   - `master` branch is healthy with both patches.
   - `branch-3.1` branch is broken with both patches.
   - `branch-3.0` branch is healthy with both patches.
   
   As reported, the test suite succeeds individually, but it seems to fail in a bulk-run.
   ```
   $ build/sbt "catalyst/testOnly *.ExpressionEncoderSuite"
   ...
   [info] Run completed in 12 seconds, 742 milliseconds.
   [info] Total number of tests run: 288
   [info] Suites: completed 1, aborted 0
   [info] Tests: succeeded 288, failed 0, canceled 0, ignored 0, pending 0
   [info] All tests passed.
   [info] Passed: Total 288, Failed 0, Errors 0, Passed 288
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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