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 05:44:50 UTC

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

zzcclp commented on pull request #31733:
URL: https://github.com/apache/spark/pull/31733#issuecomment-791171776


   @maropu After merging this pr, the IDEA show a error like this:
   ```
   java.io.FileNotFoundException: /XXX/spark/sql/catalyst/target/scala-2.12/test-classes/org/apache/spark/sql/catalyst/encoders/ExpressionEncoderSuite$OuterLevelWithVeryVeryVeryLongClassName1$OuterLevelWithVeryVeryVeryLongClassName2$OuterLevelWithVeryVeryVeryLongClassName3$OuterLevelWithVeryVeryVeryLongClassName4$OuterLevelWithVeryVeryVeryLongClassName5$OuterLevelWithVeryVeryVeryLongClassName6$OuterLevelWithVeryVeryVeryLongClassName7$OuterLevelWithVeryVeryVeryLongClassName8$OuterLevelWithVeryVeryVeryLongClassName9$OuterLevelWithVeryVeryVeryLongClassName10$OuterLevelWithVeryVeryVeryLongClassName11$.class (File name too long)
   	at java.io.FileInputStream.open0(Native Method)
   	at java.io.FileInputStream.open(FileInputStream.java:195)
   	at java.io.FileInputStream.<init>(FileInputStream.java:138)
   	at com.intellij.openapi.util.io.FileUtil.loadFileBytes(FileUtil.java:194)
   	at org.jetbrains.jps.incremental.scala.local.LazyCompiledClass.$anonfun$getContent$1(LazyCompiledClass.scala:22)
   	at scala.Option.getOrElse(Option.scala:201)
   	at org.jetbrains.jps.incremental.scala.local.LazyCompiledClass.getContent(LazyCompiledClass.scala:21)
   	at org.jetbrains.jps.incremental.instrumentation.BaseInstrumentingBuilder.performBuild(BaseInstrumentingBuilder.java:38)
   ```
   The system is Ubuntu, it seems there is file name length limitation, about 255. 


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