HDFS-5724. modifyCacheDirective logging audit log command wrongly as addCacheDirective (Uma Maheswara Rao G via Colin Patrick McCabe)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1556386 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4931545f76
commit
53b27fc60b
@ -470,6 +470,9 @@ Trunk (Unreleased)
|
|||||||
HDFS-5589. Namenode loops caching and uncaching when data should be
|
HDFS-5589. Namenode loops caching and uncaching when data should be
|
||||||
uncached (awang via cmccabe)
|
uncached (awang via cmccabe)
|
||||||
|
|
||||||
|
HDFS-5724. modifyCacheDirective logging audit log command wrongly as
|
||||||
|
addCacheDirective (Uma Maheswara Rao G via Colin Patrick McCabe)
|
||||||
|
|
||||||
Release 2.4.0 - UNRELEASED
|
Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -7137,7 +7137,7 @@ void modifyCacheDirective(CacheDirectiveInfo directive,
|
|||||||
getEditLog().logSync();
|
getEditLog().logSync();
|
||||||
}
|
}
|
||||||
if (isAuditEnabled() && isExternalInvocation()) {
|
if (isAuditEnabled() && isExternalInvocation()) {
|
||||||
logAuditEvent(success, "addCacheDirective", null, null, null);
|
logAuditEvent(success, "modifyCacheDirective", null, null, null);
|
||||||
}
|
}
|
||||||
RetryCache.setState(cacheEntry, success);
|
RetryCache.setState(cacheEntry, success);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user