Description of problem: GlusterFileSystem.lock() is an empty method and not implemented in HDFS or the Abstract FileSystem class. It looks like we can delete this method.
Fixed here: https://github.com/gluster/hadoop-glusterfs/pull/20