haohao0103 opened a new issue, #464:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/464

   ### Bug Type (问题类型)
   
   None
   
   ### Before submit
   
   - [X] I had searched in the 
[issues](https://github.com/apache/hugegraph-toolchain/issues) and found no 
similar issues.
   
   ### Environment (环境信息)
   
   - Server Version: v1.0.0
   - Toolchain Version: v1.0.0
   
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   When running spark-loader, there were a lot of dependency conflicts. 
Finally, I found the jersey,jakarta,hk2 related package, which was in spark's 
jars directory, and it was not the same as the jersey,jakarta,hk2 version in 
the lib directory after the loader was packaged. For example, lib has mainly 
3.x jersey and spark has 2.x jars. My solution was to remove the conflicting 
jars from the spark jars directory and use the loader as it was, so the loader 
could run. Screenshot of error message:
   
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/30570711/e77f7432-1708-4c11-a52e-afd79105f14a)
   
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/30570711/590a0c54-8ac7-4cb5-9fa7-adabc1eaabb4)
   
   The simple removal of the jar worked for me but wasn't general enough. I'm 
trying to use spark-submit --exclude-jars and see if the community has a better 
solution, thanks
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to