[MINOR] FlinkStateBackendConverter add more exception message (#5809)
* [MINOR] FlinkStateBackendConverter add more exception message
This commit is contained in:
@@ -36,7 +36,7 @@ public class FlinkStateBackendConverter implements IStringConverter<StateBackend
|
|||||||
case "hashmap" : return new HashMapStateBackend();
|
case "hashmap" : return new HashMapStateBackend();
|
||||||
case "rocksdb" : return new EmbeddedRocksDBStateBackend();
|
case "rocksdb" : return new EmbeddedRocksDBStateBackend();
|
||||||
default:
|
default:
|
||||||
throw new HoodieException(String.format("Unknown flink state backend %s.", value));
|
throw new HoodieException(String.format("Unknown flink state backend %s. Supports only hashmap and rocksdb by now", value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user