-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Conversation
@sandeep318kumar Thank you very much for your contribution. Please check the CI/CD for this PR. |
@sandeep318kumar build has failed, can you kindly check the failure for missing library, try excluding the same. |
bb9163e
to
d3335ac
Compare
d3335ac
to
0822671
Compare
|
...rg/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheSizingTest.java
Show resolved
Hide resolved
@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. | ||
} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
@virajjasani Could also check this pr? |
@arshadmohammad @vishalsuvagia Can you check this PR? |
There was a problem hiding this 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.
This reverts commit b6a3185.
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.