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

[AMBARI-26076] Upgrade net.sf.ehcache to 3.10.0 #3825

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

sandeep318kumar
Copy link
Contributor

What changes were proposed in this pull request?

[AMBARI-26076] Upgrade net.sf.ehcache to 3.10.0

(Please fill in changes proposed in this fix)

How was this patch tested?

Installed a local with the changes and tested all functionalities. All metrics are coming in ambari UI. Check https://issues.apache.org/jira/browse/AMBARI-26076 for references

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Ambari Contributing Guide before opening a pull request.

@JiaLiangC
Copy link
Contributor

@sandeep318kumar Thank you very much for your contribution. Please check the CI/CD for this PR.

@vishalsuvagia
Copy link
Contributor

@sandeep318kumar build has failed, can you kindly check the failure for missing library, try excluding the same.

@sandeep318kumar sandeep318kumar force-pushed the ehcache branch 2 times, most recently from bb9163e to d3335ac Compare September 16, 2024 21:42
@sandeep318kumar
Copy link
Contributor Author

@sandeep318kumar Thank you very much for your contribution. Please check the CI/CD for this PR.
CI has passed for this @JiaLiangC, Can you review?

Comment on lines +325 to +344
@Override
public void delete(TimelineAppMetricCacheKey key) throws CacheWritingException {
// no need to implement.
}

@Override
public Map<TimelineAppMetricCacheKey, TimelineMetricsCacheValue> loadAll(Iterable<? extends TimelineAppMetricCacheKey> keys) throws BulkCacheLoadingException, Exception {
// no need to implement.
return null;
}

@Override
public void writeAll(Iterable<? extends Map.Entry<? extends TimelineAppMetricCacheKey, ? extends TimelineMetricsCacheValue>> entries) throws BulkCacheWritingException, Exception {
// no need to implement.
}

@Override
public void deleteAll(Iterable<? extends TimelineAppMetricCacheKey> keys) throws BulkCacheWritingException, Exception {
// no need to implement.
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the code here is not specifically implemented, can it be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JiaLiangC
We are implementing CacheLoaderWriter interface, that's why we need to provide implementation of all its methods.

@JiaLiangC
Copy link
Contributor

@virajjasani Could also check this pr?

@sandeep318kumar
Copy link
Contributor Author

@arshadmohammad @vishalsuvagia Can you check this PR?

Copy link
Contributor

@JiaLiangC JiaLiangC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM If there are no other review comments, this will be merged in 48 hours.

@JiaLiangC JiaLiangC merged commit b6a3185 into apache:trunk Sep 25, 2024
1 check passed
xijunmu added a commit to xijunmu/ambari that referenced this pull request Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants