HCFS: avoid verbose file not found exception stack trace

This commit is contained in:
Chris Lu
2019-09-01 21:40:26 -07:00
parent af8b413a9c
commit 60c9215a00
7 changed files with 9 additions and 6 deletions

View File

@@ -194,6 +194,9 @@ public class FilerClient {
.build()).getEntry();
return fixEntryAfterReading(entry);
} catch (Exception e) {
if (e.getMessage().indexOf("filer: no entry is found in filer store")>0){
return null;
}
LOG.warn("lookupEntry {}/{}: {}", directory, entryName, e);
return null;
}