@Override
  public void configure(Configuration parameters) {
    super.configure(parameters);

    // read own parameters
    this.blockSize = parameters.getLong(BLOCK_SIZE_PARAMETER_KEY, NATIVE_BLOCK_SIZE);
    if (this.blockSize < 1 && this.blockSize != NATIVE_BLOCK_SIZE)
      throw new IllegalArgumentException("The block size parameter must be set and larger than 0.");
    if (this.blockSize > Integer.MAX_VALUE)
      throw new UnsupportedOperationException(
          "Currently only block size up to Integer.MAX_VALUE are supported");
  }