Hi Chris, thank you for detailed explanation, now I see the exact issue after 
reading the description of YARN-11794.

I have full confidence in Java cross-platform nature, but given that Hadoop 
involves some native code, and requires some native libraries to build and run, 
I'm afraid I must build the code on the same OS with the same native libraries 
installed as the target to avoid potential linkage issues.

Also thank you for sharing the Hadoop Hardware/Software Requirements Policies, 
it sounds reasonable, and I think we can and should follow it to discuss the 
support of CentOS 7, maybe mark CentOS 7 support deprecated 3.4.2 or 3.5.0 
first?

Thanks,
Cheng Pan



> On Mar 12, 2025, at 07:17, Chris Nauroth <cnaur...@apache.org> wrote:
> 
> I'm adding Cheng Pan, who expressed concerns here:
> 
> https://github.com/apache/hadoop/pull/7493#issuecomment-2710815286
> 
> Cheng, this is a build time issue. If it doesn't impact runtime, then is it 
> still a problem for you? I can imagine it might still be an impact if you 
> need to make a custom patched build from source.
> 
> We do have some prior established policies for this sort of thing:
> 
> https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html#Hardware.2FSoftware_Requirements
> 
> "Support for any OS SHOULD NOT be dropped without first being documented as 
> deprecated for a full major release and MUST NOT be dropped without first 
> being deprecated for at least a full minor release."
> 
> There is nothing in the phrasing about specific Linux distros, but I think if 
> we were to follow the strictest interpretation, then the 3.4 release line 
> would continue to work for the same OS distros.
> 
> I understand the other way forward is to look for a gRPC compiler version 
> that works on CentOS 7 and is also compatible with the Netty upgrade. Has 
> there been any investigation into that?
> 
> Chris Nauroth
> 
> 
> On Mon, Mar 10, 2025 at 9:54 PM Istvan Toth <st...@apache.org 
> <mailto:st...@apache.org>> wrote:
>> CC to d...@hadoop.apache.org <mailto:d...@hadoop.apache.org>
>> 
>> On Tue, Mar 11, 2025 at 5:51 AM Istvan Toth <st...@apache.org 
>> <mailto:st...@apache.org>> wrote:
>> 
>> > Hi,
>> >
>> > As reported in YARN-11794 , building Hadoop on Centos 7 has been broken
>> > for some time, and I don't see an easy way to fix it.
>> >
>> > I propose removing Centos 7 from the supported build platforms, and
>> > removing the CentOs 7 precommit tests from Jenkins HADOOP-19489 .
>> >
>> > Note that this is a build isse, this does not affect running Hadoop
>> > on CentOS.
>> >
>> > Istvan
>> >

Reply via email to