ORC-1669: [C++] Deprecate HDFS support#1885
Conversation
|
Also cc @omalley in case there is any blocker to this. |
There was a problem hiding this comment.
As I mentioned here, Apache ORC follows Semantic Versioning, @wgtmac .
It's too bad. Apache ORC community cannot remove it at ORC 2.x because ORC 2.0.0 is released already and we follow Semantic Versioning policy. The best thing we can do is to deprecate it at Apache ORC 2.0.1.
Since we cannot remove it in any ORC 2.x releases, please don't claim any removal. Shall we change like the following?
- [[deprecated("readHdfsFile is deprecated in 2.0.1 and will be removed in 2.1.0")]] std::
+ [[deprecated("readHdfsFile is deprecated in 2.0.1")]] std::
|
cc @williamhyun , @pavibhai , @deshanxiao , too. |
|
Does it mean that we cannot upgrade libprotobuf like #1857 in 2.x? Or at least we can choose appropriate protobuf version according to the |
|
+1 for choosing the protobuf version based on the |
|
I'm not sure what you mean by that. May I ask what is broken in
Apache ORC 2 has two-layer protections.
FYI, |
Yes, libhdfspp does not link with 3.21.12. For example: |
|
Although we don't want to touch that file, I guess we are able to update the source code like we did in the following PR. WDTY? |
|
Right, I feel very reluctant to touch that file. I'll look into it later. |
### What changes were proposed in this pull request? Mark readHdfsFile as deprecated. ### Why are the changes needed? Reading ORC on HDFS was introduced in #134 without any test. It has not been updated for 7 years and updating libhdfspp will result in extra dependency like boost library. Staying at an old version of libhdfspp will also prohibit us from updating other libraries like protobuf. ### How was this patch tested? It does not need test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #1885 from wgtmac/ORC-1669. Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit cea0629) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
|
Thanks @dongjoon-hyun! |
What changes were proposed in this pull request?
Mark readHdfsFile as deprecated.
Why are the changes needed?
Reading ORC on HDFS was introduced in #134 without any test. It has not been updated for 7 years and updating libhdfspp will result in extra dependency like boost library. Staying at an old version of libhdfspp will also prohibit us from updating other libraries like protobuf.
How was this patch tested?
It does not need test.
Was this patch authored or co-authored using generative AI tooling?
No.