fix of 90 warnings

.isDir() is suppressed, because this method is requred by hadoop-1