diff --git a/dynamometer-blockgen/src/main/java/com/linkedin/dynamometer/blockgenerator/XMLParser.java b/dynamometer-blockgen/src/main/java/com/linkedin/dynamometer/blockgenerator/XMLParser.java index 3b915c23b2..afecbbd398 100644 --- a/dynamometer-blockgen/src/main/java/com/linkedin/dynamometer/blockgenerator/XMLParser.java +++ b/dynamometer-blockgen/src/main/java/com/linkedin/dynamometer/blockgenerator/XMLParser.java @@ -52,6 +52,16 @@ class XMLParser { * @return {@code BlockInfo}s for any blocks found. */ List parseLine(String line) throws IOException { + // Centralized Cache Management compatibility + // if CCM feature is open, fsimage xml may include + // 8963/user/some/path3 + // cache_other_pool1544454142310false + // these lines need to be filtered + if (line.contains("")) { + System.out.println("this line is for Centralized Cache Management, ignore, line:" + line); + return new ArrayList<>(); + } + if (line.contains("")) { transitionTo(State.INODE); }