You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/13 14:32:59 UTC

[GitHub] [incubator-linkis] Ritakang0451 opened a new issue #1681: Unable to initialize usergroupinformation

Ritakang0451 opened a new issue #1681:
URL: https://github.com/apache/incubator-linkis/issues/1681


   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-commons
   
   ### What happened + What you expected to happen
   
   Linkis version 1.0.2, Hadoop version 3.0.0-cdh6 3.2. The python engine is recompiled successfully, and the other three engines run without problems. An error is reported when running the python engine on the command line.
   
   Command:sh bin/linkis-cli -engineType python-python2 -code "print('hello world')" -codeType python
   An error is reported in the engine log: Throw error java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.security.UserGroupInformation
   ![9bea85faa3c478b3d0c3b10bb42d5e2](https://user-images.githubusercontent.com/43694785/158064279-4a4decf7-d717-4932-ba0a-a7718eaa9b5e.jpg)
   But there is hadoop-common-3.0.0-cdh6.0 in the Lib folder 3.2. jar
   ![0c40e0a5712d9a5a687557c0b79ade3](https://user-images.githubusercontent.com/43694785/158064409-0038a804-7f03-47e8-bcc7-b7af8234b4ff.jpg)
   But there is hadoop-common-3.0.0-cdh6.0 in the Lib folder 3.2. jar
   ![3b59ce2744ce855e9e39c9326871d10](https://user-images.githubusercontent.com/43694785/158064430-f96723c0-ec66-448d-955c-8c37a07caf36.jpg)
   
   
   ### Relevent platform
   
   。
   
   ### Reproduction script
   
   。
   
   ### Anything else
   
   This question comes from the QA documentation of the Linkis community
   
   
   ### Are you willing to submit a PR?
   
   - [X] 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@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] Ritakang0451 commented on issue #1681: Unable to initialize usergroupinformation

Posted by GitBox <gi...@apache.org>.
Ritakang0451 commented on issue #1681:
URL: https://github.com/apache/incubator-linkis/issues/1681#issuecomment-1066114757


   Although in debug mode, the running results are displayed. However, the command line page has been stuck and has not been reflected.
   
   A: The python engine does not require hadoop-common-3.0.0-cdh6 3.2. Jar, check the error reports of all log levels, and add commons-configuration2-2.7 jar , htrace-core4-4.1.0-incubating. Jar, solve the problem.
   Everyone may encounter different situations, due to cdh6 3.2 packages are messy. You need to lower the log level and check all the error reports, not just the error level.
   


-- 
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@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] Ritakang0451 closed issue #1681: Unable to initialize usergroupinformation

Posted by GitBox <gi...@apache.org>.
Ritakang0451 closed issue #1681:
URL: https://github.com/apache/incubator-linkis/issues/1681


   


-- 
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@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org