| 345 | } |
| 346 | |
| 347 | bool HdfsOptions::Equals(const HdfsOptions& other) const { |
| 348 | return (buffer_size == other.buffer_size && replication == other.replication && |
| 349 | default_block_size == other.default_block_size && |
| 350 | connection_config.host == other.connection_config.host && |
| 351 | connection_config.port == other.connection_config.port && |
| 352 | connection_config.user == other.connection_config.user && |
| 353 | connection_config.kerb_ticket == other.connection_config.kerb_ticket && |
| 354 | connection_config.extra_conf == other.connection_config.extra_conf); |
| 355 | } |
| 356 | |
| 357 | Result<HdfsOptions> HdfsOptions::FromUri(const Uri& uri) { |
| 358 | HdfsOptions options; |