ChubaoFS
latest

Getting Started

  • Introduction
  • Run Cluster by Yum Tools
  • Run Cluster Manually

Design Documentation

  • Resource Manager (Master)
  • Metadata Subsystem
  • Data Subsystem
  • Object Subsystem (ObjectNode)
  • Client

User Documentation

  • Resource Manager (Master)
  • Meta Subsystem
  • Data Subsystem
  • Object Subsystem (ObjectNode)
  • Console
  • Client
  • Monitor
  • Tune FUSE Performance
  • Run Cluster by Yum Tools
  • Run Cluster on Docker

Administration

  • Resource Manager (Master) API
    • Cluster
    • Metanode Related
    • Datanode Related
      • GET
      • Decommission
    • Volume
    • Meta Partition
    • Data Partition
    • Master Management
    • User
  • Meta Node API
  • Command Line Interface

use case

  • Use Cases

Evaluation

  • Performance
  • Integrity
  • Workload
  • Scalability

Contributing

  • Contributing to ChubaoFS

FAQ

  • Environment Requirements and Capacity Planning
  • Q&A
ChubaoFS
  • Docs »
  • Resource Manager (Master) API »
  • Datanode Related
  • Edit on GitHub

Datanode Related¶

GET¶

curl -v "http://10.196.59.198:17010/dataNode/get?addr=10.196.59.201:17310"  | python -m json.tool

Show the base information of the dataNode, such as addr, disk total size, disk used size and so on.

Parameters¶
Parameter Type Description
addr string the addr which communicate with master

response

{
    "TotalWeight": 39666212700160,
    "UsedWeight": 2438143586304,
    "AvailableSpace": 37228069113856,
    "ID": 2,
    "Zone": "zone1",
    "Addr": "10.196.59.201:17310",
    "ReportTime": "2018-12-06T10:56:38.881784447+08:00",
    "IsActive": true
    "UsageRatio": 0.06146650815226848,
    "SelectTimes": 5,
    "Carry": 1.0655859145960367,
    "DataPartitionReports": {},
    "DataPartitionCount": 21,
    "NodeSetID": 3,
    "PersistenceDataPartitions": {},
    "BadDisks": {}
}

Decommission¶

curl -v "http://10.196.59.198:17010/dataNode/decommission?addr=10.196.59.201:17310"

Remove the dataNode from cluster, data partitions which locate the dataNode will be migrate other available dataNode asynchronous.

Parameters¶
Parameter Type Description
addr string the addr which communicate with master
Next Previous

© Copyright 2018, The Chubao Authors Revision 27a709be.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.