YARN-10937. Fix log message arguments in LogAggregationFileController (#3450)

This commit is contained in:
TiborKovacsCloudera 2021-09-19 14:35:34 +02:00 committed by GitHub
parent aa74a303ed
commit 5dcb23c1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "