You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@graphar.apache.org by "yangxk1 (via GitHub)" <gi...@apache.org> on 2025/06/10 08:32:21 UTC

[I] bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc. [incubator-graphar]

yangxk1 opened a new issue, #704:
URL: https://github.com/apache/incubator-graphar/issues/704

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The following are some potential causes of the failing. 
   1. Outdated `libarrow` version
   The java CI uses version 14, but in c++ CI it's 17.
   2. LLVM installation fails on ubuntu-latest via apt
   There's an issue installing LLVM via apt on ubuntu-latest. As a temporary workaround, we can switch to ubuntu-22.04, or build LLVM from source.
   3. GraphAr Java library depends on C++ library v0.10.0 with known bugs
   The Java bindings were built against C++ library version v0.10.0, which contains a bug (#515). We can switch to v0.12.0 or main branch
   4. Namespace inconsistency between Java and C++ libraries
   Java uses namespace : `gar` / `GraphArchive`
   C++ uses namespace: `graphar`
   5. Method signature mismatches between Java and C++
   Some method definitions differ between the two language bindings.
   For example:
   In Java library, the first parameter of the `EdgeIter` constructor is `EdgeInfo`. 
   In C++ library, it is `std::shared_ptr<EdgeInfo>`
   
   ### Component(s)
   
   Java


-- 
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: commits-unsubscribe@graphar.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org


Re: [I] bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc. [incubator-graphar]

Posted by "yangxk1 (via GitHub)" <gi...@apache.org>.
yangxk1 closed issue #704: bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc.
URL: https://github.com/apache/incubator-graphar/issues/704


-- 
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: commits-unsubscribe@graphar.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org


Re: [I] bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc. [incubator-graphar]

Posted by "yangxk1 (via GitHub)" <gi...@apache.org>.
yangxk1 commented on issue #704:
URL: https://github.com/apache/incubator-graphar/issues/704#issuecomment-2967061317

   > Hi [@yangxk1](https://github.com/yangxk1) , I think it's hard to maintaining the gap between C++ and Java bindings. May be we should deprecate the FFI implementation and turn to pure Java implementation?
   
   I agree with you! @Thespica . We should aim for a pure Java library.
   However, I also think it's important to keep the current repository in a usable state for now.
   I'm already working on fixing this issue, and I expect to have results within the next couple of days. 


-- 
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: commits-unsubscribe@graphar.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org


Re: [I] bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc. [incubator-graphar]

Posted by "yangxk1 (via GitHub)" <gi...@apache.org>.
yangxk1 commented on issue #704:
URL: https://github.com/apache/incubator-graphar/issues/704#issuecomment-2961657600

   The gap between the C++ and Java library are recorded in issue #272 


-- 
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: commits-unsubscribe@graphar.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org


Re: [I] bug(java): Java CI failing due to outdated libarrow, LLVM install failure, and c++ API mismatches, etc. [incubator-graphar]

Posted by "Thespica (via GitHub)" <gi...@apache.org>.
Thespica commented on issue #704:
URL: https://github.com/apache/incubator-graphar/issues/704#issuecomment-2966891602

   Hi @yangxk1 , I think it's hard to maintaining the gap between C++ and Java bindings. May be we should deprecate the FFI implementation and turn to pure Java implementation?


-- 
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: commits-unsubscribe@graphar.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@graphar.apache.org
For additional commands, e-mail: commits-help@graphar.apache.org