Locking paths for HDFS & S3