@_coerce_exceptions
  def _get_blocks(self, path, offset, length):
    path = encode_fs_path(path)
    blocks = self.nn_client.getBlocks(self.request_context, normpath(path), offset, length)
    def _fix_block(blk):
      blk.path = decode_fs_path(blk.path)
      return blk
    return [_fix_block(blk) for blk in blocks]
Get block locations from the Name Node. Returns an array of Block
dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py/HadoopFileSystem._get_blocks