hadoop/hadoop-yarn-project/hadoop-yarn
Steve Loughran 9bc159f4ac
HADOOP-18487. Make protobuf 2.5 an optional runtime dependency. (#4996)
Protobuf 2.5 JAR is no longer needed at runtime. 

The option common.protobuf.scope defines whether the protobuf 2.5.0
dependency is marked as provided or not.

* New package org.apache.hadoop.ipc.internal for internal only protobuf classes
  ...with a ShadedProtobufHelper in there which has shaded protobuf refs
  only, so guaranteed not to need protobuf-2.5 on the CP
* All uses of org.apache.hadoop.ipc.ProtobufHelper have
  been replaced by uses of org.apache.hadoop.ipc.internal.ShadedProtobufHelper
* The scope of protobuf-2.5 is set by the option common.protobuf2.scope
  In this patch is it is still "compile"
* There is explicit reference to it in modules where it may be needed.
*  The maven scope of the dependency can be set with the common.protobuf2.scope
   option. It can be set to "provided" in a build:
       -Dcommon.protobuf2.scope=provided
* Add new ipc(callable) method to catch and convert shaded protobuf
  exceptions raised during invocation of the supplied lambda expression
* This is adopted in the code where the migration is not traumatically
  over-complex. RouterAdminProtocolTranslatorPB is left alone for this
  reason.

Contributed by Steve Loughran
2023-10-13 13:48:38 +01:00
..
bin YARN-11570. Add YARN_GLOBALPOLICYGENERATOR_HEAPSIZE to yarn-env for GPG. (#6086) 2023-09-20 17:11:59 -07:00
conf YARN-11570. Add YARN_GLOBALPOLICYGENERATOR_HEAPSIZE to yarn-env for GPG. (#6086) 2023-09-20 17:11:59 -07:00
dev-support YARN-7708. BackPort [GPG] Load based policy generator. (#5902) Contributed by Young Chen. 2023-08-05 16:33:35 +08:00
hadoop-yarn-api MAPREDUCE-7456. Extend add-opens flag to container launch commands on JDK17 nodes. Contributed by Peter Szucs 2023-09-27 22:33:45 -04:00
hadoop-yarn-applications HADOOP-18487. Make protobuf 2.5 an optional runtime dependency. (#4996) 2023-10-13 13:48:38 +01:00
hadoop-yarn-client YARN-11537. [Federation] Router CLI Supports List SubClusterPolicyConfiguration Of Queues. (#5944) Contributed by Shilun Fan. 2023-09-06 22:08:59 +08:00
hadoop-yarn-common HADOOP-18487. Make protobuf 2.5 an optional runtime dependency. (#4996) 2023-10-13 13:48:38 +01:00
hadoop-yarn-csi HADOOP-18487. Make protobuf 2.5 an optional runtime dependency. (#4996) 2023-10-13 13:48:38 +01:00
hadoop-yarn-registry Preparing for 3.4.0 development 2020-03-29 23:24:25 +05:30
hadoop-yarn-server HADOOP-18487. Make protobuf 2.5 an optional runtime dependency. (#4996) 2023-10-13 13:48:38 +01:00
hadoop-yarn-site YARN-11522. Update the documentation with the YARN-11000 changes. (#5870) 2023-09-27 16:43:28 +02:00
hadoop-yarn-ui YARN-11312: [UI2] Refresh buttons don't work after EmberJS upgrade (#5649) 2023-05-12 14:20:26 +02:00
shellprofile.d
pom.xml HADOOP-17967. Keep restrict-imports-enforcer-rule for Guava VisibleForTesting in hadoop-main pom (#3555) 2021-10-21 16:54:25 +09:00