@Override
  public void stop() {
    watchTask.cancel(true);
  }
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