@Override
  public boolean isRunning() {
    if (watchTask != null)
      return !(watchTask.isDone());
    return false;
  }
Sanity check to validate if the detected path is a valid archive file
is not a directory, also check that the file is not empty

@param resolvedPath
@return
ambari-server/src/main/java/org/apache/ambari/server/view/ViewDirectoryWatcher.java