You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/10/20 10:17:18 UTC

[GitHub] [incubator-kyuubi] wForget opened a new issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

wForget opened a new issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and function file to fail. Do we need to modify the comments of the related classes?
   
   command: 
   `KYUUBI_UPDATE=1 build/mvn test -DwildcardSuites=org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite -pl '!externals/kyuubi-download'`
   
   error:
   
   ![image](https://user-images.githubusercontent.com/17894939/138073980-980130d0-2d44-4d96-ae06-225b23a58279.png)
   
   should be changed to: 
   `KYUUBI_UPDATE=1 build/mvn test -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration -pl '!externals/kyuubi-download,!kyuubi-hive-jdbc-shaded'`
   
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a 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.

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] pan3793 edited a comment on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
pan3793 edited a comment on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947529286


   Would you please try 
   ```
   KYUUBI_UPDATE=1 build/mvn clean install \
     -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration \
     -pl '!externals/kyuubi-download'
   ```


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] wForget commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-948230598


   Thanks @pan3793 , I will fix it.


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] wForget commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-948623353


   NullPointerException occurred when regenerating functions.md file. Fix in #1272 
   
   command:
   ```
   KYUUBI_UPDATE=1 build/mvn clean install -Pspark-provided -DwildcardSuites=org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite
   ```
   
   error:
   ```
   KyuubiDefinedFunctionSuite:
   *** RUN ABORTED ***
     java.lang.ExceptionInInitializerError:
     at org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite.$anonfun$new$1(KyuubiDefinedFunctionSuite.scala:85)
     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
     at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
     at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
     at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
     at org.scalatest.Transformer.apply(Transformer.scala:22)
     at org.scalatest.Transformer.apply(Transformer.scala:20)
     at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
     at org.apache.kyuubi.KyuubiFunSuite.withFixture(KyuubiFunSuite.scala:61)
     at org.apache.kyuubi.KyuubiFunSuite.withFixture$(KyuubiFunSuite.scala:55)
     ...
     Cause: java.lang.NullPointerException:
     at org.apache.kyuubi.engine.spark.udf.KDFRegistry$.<init>(KDFRegistry.scala:34)
     at org.apache.kyuubi.engine.spark.udf.KDFRegistry$.<clinit>(KDFRegistry.scala)
     at org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite.$anonfun$new$1(KyuubiDefinedFunctionSuite.scala:85)
     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
     at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
     at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
     at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
     at org.scalatest.Transformer.apply(Transformer.scala:22)
     at org.scalatest.Transformer.apply(Transformer.scala:20)
     at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
   ```
   


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] wForget commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947565850


   > KYUUBI_UPDATE=1 build/mvn clean install -Pspark-provided \
   >   -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
   
   This command is ok.


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] wForget commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
wForget commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947631986


   > Would you like to send a PR to update the comments?
   
   Yes, I can do it. Which command should we use?


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] pan3793 commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
pan3793 commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947607258


   Would you like to send a PR to update the comments?


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] pan3793 commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
pan3793 commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947529286


   Would you please try `KYUUBI_UPDATE=1 build/mvn clean install -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration -pl '!externals/kyuubi-download'`


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] ulysses-you closed issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
ulysses-you closed issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267


   


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] pan3793 commented on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
pan3793 commented on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-948224017


   ```
   KYUUBI_UPDATE=1 build/mvn clean install -Pspark-provided \
     -DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
   ```


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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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



[GitHub] [incubator-kyuubi] pan3793 edited a comment on issue #1267: [Bug] The newly added kyuubi-hive-jdbc-shaded module causes the generation of the settings file and functions file to fail.

Posted by GitBox <gi...@apache.org>.
pan3793 edited a comment on issue #1267:
URL: https://github.com/apache/incubator-kyuubi/issues/1267#issuecomment-947529286






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

To unsubscribe, e-mail: dev-unsubscribe@kyuubi.apache.org

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