Data Operations

Read

师成师成· 更新于 2026-09-28· 阅读 2 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

TODO: File a subtask under HDDS-9862 and complete this page or section.

Reading Metadata

Reading Data

Trace every part of a read request from beginning to end. This includes:

  • Client getting encryption keys

  • Client calling OM to create key

  • OM validating client's Kerberos principal

  • OM checking permissions (Ranger or Native ACLs)

  • OM generating block tokens from the shared secret previously retrieved from SCM

  • OM getting block locations from SCM or from its cache.

  • OM returning container, blocks, pipeline, block tokens

  • Client sending block tokens and Datanode validating based on the shared secret from SCM

  • Client sending read chunk requests to Datanode to fetch the data.

    • For replication:

      • Include topology choices of which Datanodes to use
      • Include failover handling
    • For EC, link to the EC feature page.

  • Client validating checksums

评论

登录后参与评论

正在加载评论…