private boolean stringIsNotEmpty(final String str) {
      return str != null && !str.isEmpty();
    }
Try to Preserve the files attribute selected by the user copying them from the source file
This is only required when you are exporting as a different user than "hbase" or on a system
that doesn't have the "hbase" user. This is not considered a blocking failure since the user
can force a chmod with the user that knows is available on the system.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java