code: @Override
      public long getFileSize(String path) throws IOException, URISyntaxException {
          FileSystem fs = FileSystem.get(conf);
          FileStatus fstatus = fs.getFileStatus(new Path(path));
          if (fstatus == null) {
              return -1;
          }
          return fstatus.getLen();
      }
docs: {@inheritDoc}