apache/hadoop · error · IllegalArgumentException

Checksum algorithm is not supported: %s

Error message

Checksum algorithm is not supported: %s

What it means

Error "Checksum algorithm is not supported: %s" thrown in apache/hadoop.

Source

Thrown at hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/ChecksumSupport.java:91

  public static ChecksumAlgorithm getChecksumAlgorithm(Configuration conf) {
    return ConfigurationHelper.resolveEnum(conf,
        CHECKSUM_ALGORITHM,
        ChecksumAlgorithm.class,
        configValue -> {
          // default values and handling algorithms names without underscores.
          String val = configValue == null
              ? NONE
              : configValue.toUpperCase(Locale.ROOT);
          switch (val) {
          case "":
          case NONE:
            return null;
          case CRC32C:
            return ChecksumAlgorithm.CRC32_C;
          case CRC64NVME:
            return ChecksumAlgorithm.CRC64_NVME;
          default:
            throw new IllegalArgumentException("Checksum algorithm is not supported: "
                + configValue);
          }
        });
  }
}

View on GitHub (pinned to 2add963021)

Solutions

  1. Use a supported checksum algorithm (e.g. CRC32C, SHA256) in the configuration.

When it happens

Trigger: Thrown at hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/ChecksumSupport.java:91 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22). Data as JSON: /api/errors/443eb9dad70619a5. Report an issue: GitHub.