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

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



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

Reply via email to