-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the conflict of protobuf version between apache orc and tensorflow #2134
Comments
Hi, @j2cms . Which Apache ORC versions are you using now? IIUC, Apache ORC v2.x uses more higher versions of protobuf. |
BTW, FYI, Apache ORC community doesn't maintain PyPi packages. |
hi, @dongjoon-hyun , thank you for the reply. I use the latest version of Apache ORC, I think the reason is PROTOBUF_VERSION in cmake_modules is 3.5.1
can you upgrade it to 3.19.6 or later ? |
Thank you, @j2cms . I searched the community activity. It seems that it was tried here. |
It seems that we deprecated HDFS support to upgrade C++ protobuf at ORC 2.0.1 but we couldn't delete it in Apache Orc 2.x because we follow the semantic versioning. In this case, we need to wait until 3.0.0 because 2.0 and 2.1 is already out with cc @wgtmac |
I filed the following. |
@j2cms If you have an installed protobuf somewhere, perhaps you may want to set one of these environment variables before building to avoid the default one. |
I changed it to 3.19.6 as above and compile orc locally (on my MacOS), success. finally It works. no protobuf version conflict with tensorflow now maybe we should upgrade it to 3.19.6, not 3.21.12 in #1857 |
when use tensorflow 1.15.5, it depend protobuf, the default version is 3.19.6
but the apache orc use protobuf 3.5.1 ( it seems too old)
they meet conflict as below:
Python(3937,0x7ff85c27bfc0) malloc: *** error for object 0x600002e394d8: pointer being freed was not allocated
Python(3937,0x7ff85c27bfc0) malloc: *** set a breakpoint in malloc_error_break to debug
I found the similarity issues [https://github.com//issues/1425]
can we upgrade PROTOBUF version to 3.19.6?
The text was updated successfully, but these errors were encountered: