HDFS-17443. add null check for fileSys and cluster before shutting down (#6683)

1 file changed