apache/hadoop · error · IllegalArgumentException

Invalid entry, fault tolerance only supported for ALL order

Error message

Invalid entry, fault tolerance only supported for ALL order {}

What it means

Error "Invalid entry, fault tolerance only supported for ALL order {}" thrown in apache/hadoop.

Source

Thrown at hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/store/records/MountTable.java:415

        throw new IllegalArgumentException(
            ERROR_MSG_INVALID_DEST_NS + this);
      }
      if (loc.getDest() == null || loc.getDest().length() == 0) {
        throw new IllegalArgumentException(
            ERROR_MSG_INVALID_DEST_PATH + this);
      }
      if (!loc.getDest().startsWith("/")) {
        throw new IllegalArgumentException(
            ERROR_MSG_ALL_DEST_MUST_START_WITH_BACK_SLASH + this);
      }
    }
    if (isFaultTolerant()) {
      if (getDestinations().size() < 2) {
        throw new IllegalArgumentException(
            ERROR_MSG_FAULT_TOLERANT_MULTI_DEST + this);
      }
      if (!isAll()) {
        throw new IllegalArgumentException(
            ERROR_MSG_FAULT_TOLERANT_ALL + this);
      }
    }
  }

  @Override
  public long getExpirationMs() {
    return 0;
  }

  @Override
  public int hashCode() {
    return new HashCodeBuilder(17, 31)
        .append(this.getSourcePath())
        .append(this.getDestinations())
        .append(this.isReadOnly())
        .append(this.getDestOrder())
        .append(this.isFaultTolerant())

View on GitHub (pinned to 2add963021)

Solutions

  1. Use destination order ALL when fault tolerance is enabled on the mount entry.
  2. Disable fault tolerance to use HASH/LOCAL/other orders.

When it happens

Trigger: MountTable validation: fault tolerance combined with a destination order other than ALL.

Common situations: Mount entry configured with fault tolerance plus HASH or LOCAL order, which is unsupported.


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