Skip to content
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

Fix job-master leak memory when submitt...; Port [#18639] to branch-2.10 #18651

Merged

Commits on Jul 8, 2024

  1. Fix job-master leak memory when submitting distributed jobs

    fix:fix job-master leak memory when submitting a large number of distributed jobs(DIST_LOAD/DIST_CP/Persist jobs)
    
    ### What changes are proposed in this pull request?
    
    Start a periodic thread to clear expired jobs information that cannot be trace by the client in CmdJobTracker.The default retention time is 1day,which is the same configuration as LoadV2.
    
    ### Why are the changes needed?
    
    When many jobs are submitted,the job master finally will have an oom problem, we can find that the cmdJobTracker retains the residual job information and not cleaned regularly, resulting in memory leaks.
    
    ### Does this PR introduce any user facing changes?
    
    Please list the user-facing changes introduced by your change, including
    1.add Configuration:
              alluxio.job.master.job.trace.retention.time=xx,the default value is 1d.
    
    Related issue: #18635
    			pr-link: #18639
    			change-id: cid-d4e5853a1818a22c8a0411a27bfe1141c6f24ebd
    liiuzq-xiaobai authored and alluxio-bot committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    34b7b26 View commit details
    Browse the repository at this point in the history