celeborn/docs
zky.zhoukeyong e56a8a8bed [CELEBORN-798] Add heartbeat from client to LifecycleManager to clean…
…up client

### What changes were proposed in this pull request?
Add heartbeat from client to lifecycle manager. In this PR heartbeat request contains local shuffle ids from
client, lifecycle manager checks with it's local set and returns ids it doesn't know. Upon receiving response,
client calls ```unregisterShuffle``` for cleanup.

### Why are the changes needed?
Before this PR, client side ```unregisterShuffle``` is never called. When running TPCDS 3T with spark thriftserver
without DRA, I found the Executor's heap contains 1.6 million PartitionLocation objects (and StorageInfo):
![image](https://github.com/apache/incubator-celeborn/assets/948245/43658369-7763-4511-a5b0-9b3fbdf02005)

After this PR, the number of PartitionLocation objects decreases to 275 thousands
![image](https://github.com/apache/incubator-celeborn/assets/948245/45f8f849-186d-4cad-83c8-64bd6d18debc)

This heartbeat can be extended in the future for other purposes, i.e. reporting client's metrics.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Passes GA and  manual test.

Closes #1719 from waitinfuture/798.

Authored-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
2023-07-17 18:14:10 +08:00
..
assets/logo [CELEBORN-499] Move version specific resource to main repo (#1429) 2023-04-14 16:20:51 +08:00
configuration [CELEBORN-798] Add heartbeat from client to LifecycleManager to clean… 2023-07-17 18:14:10 +08:00
celeborn_ratis_shell.md [CELEBORN-638] Migrate configurations celeborn.ha.master.* to celeborn.master.ha.* 2023-06-16 18:18:26 +08:00
cluster_planning.md [CELEBORN-570] Update docs about monitor and deployment. (#1478) 2023-05-08 17:07:42 +08:00
deploy_on_k8s.md [CELEBORN-713] Local network binding support IP or FQDN 2023-06-27 09:42:11 +08:00
deploy.md [CELEBORN-751] Rename remain rss related class name and filenames etc 2023-07-04 10:20:08 +08:00
migration.md [CELEBORN-751] Rename remain rss related class name and filenames etc 2023-07-04 10:20:08 +08:00
monitoring.md [CELEBORN-726] Update data replication terminology from master/slave to primary/replica for configurations and metrics 2023-06-29 09:47:02 +08:00
README.md [CELEBORN-499] Move version specific resource to main repo (#1429) 2023-04-14 16:20:51 +08:00
upgrade.md [CELEBORN-680][DOC] Refresh celeborn configurations in doc 2023-06-15 13:59:38 +08:00

hide license
navigation
toc
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache Celeborn (Incubating)