YARN-10937. Fix log message arguments in LogAggregationFileController (#3450)
This commit is contained in:
parent
aa74a303ed
commit
5dcb23c1f0
@ -390,7 +390,7 @@ public abstract class LogAggregationFileController {
|
|||||||
remoteFS.setPermission(qualified, new FsPermission(TLDIR_PERMISSIONS));
|
remoteFS.setPermission(qualified, new FsPermission(TLDIR_PERMISSIONS));
|
||||||
} catch ( UnsupportedOperationException use) {
|
} catch ( UnsupportedOperationException use) {
|
||||||
LOG.info("Unable to set permissions for configured filesystem since"
|
LOG.info("Unable to set permissions for configured filesystem since"
|
||||||
+ " it does not support this", remoteFS.getScheme());
|
+ " it does not support this {}", remoteFS.getScheme());
|
||||||
fsSupportsChmod = false;
|
fsSupportsChmod = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -437,7 +437,7 @@ public abstract class LogAggregationFileController {
|
|||||||
remoteFS.setPermission(permissionCheckFile, new FsPermission(TLDIR_PERMISSIONS));
|
remoteFS.setPermission(permissionCheckFile, new FsPermission(TLDIR_PERMISSIONS));
|
||||||
} catch (UnsupportedOperationException use) {
|
} catch (UnsupportedOperationException use) {
|
||||||
LOG.info("Unable to set permissions for configured filesystem since"
|
LOG.info("Unable to set permissions for configured filesystem since"
|
||||||
+ " it does not support this", remoteFS.getScheme());
|
+ " it does not support this {}", remoteFS.getScheme());
|
||||||
fsSupportsChmod = false;
|
fsSupportsChmod = false;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Failed to check if FileSystem supports permissions on "
|
LOG.warn("Failed to check if FileSystem supports permissions on "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user