zoukankan      html  css  js  c++  java
  • hdfs 查看报告--命令(hdfs dfsadmin -report)

    [hadoop@master sbin]$ hdfs dfsadmin -report
    Configured Capacity: 8202977280 (7.64 GB)
    Present Capacity: 4421812224 (4.12 GB)
    DFS Remaining: 4046110720 (3.77 GB)
    DFS Used: 375701504 (358.30 MB)
    DFS Used%: 8.50%
    Under replicated blocks: 88
    Blocks with corrupt replicas: 0
    Missing blocks: 0

    -------------------------------------------------
    Live datanodes (2):

    Name: 192.168.244.101:50010 (slave1)
    Hostname: slave1
    Decommission Status : Normal
    Configured Capacity: 4101488640 (3.82 GB)
    DFS Used: 187850752 (179.15 MB)
    Non DFS Used: 2109939712 (1.97 GB)
    DFS Remaining: 1803698176 (1.68 GB)
    DFS Used%: 4.58%
    DFS Remaining%: 43.98%
    Configured Cache Capacity: 0 (0 B)
    Cache Used: 0 (0 B)
    Cache Remaining: 0 (0 B)
    Cache Used%: 100.00%
    Cache Remaining%: 0.00%
    Xceivers: 1
    Last contact: Mon Dec 11 18:32:32 CST 2017


    Name: 192.168.244.102:50010 (slave2)
    Hostname: slave2
    Decommission Status : Normal
    Configured Capacity: 4101488640 (3.82 GB)
    DFS Used: 187850752 (179.15 MB)
    Non DFS Used: 1671225344 (1.56 GB)
    DFS Remaining: 2242412544 (2.09 GB)
    DFS Used%: 4.58%
    DFS Remaining%: 54.67%
    Configured Cache Capacity: 0 (0 B)
    Cache Used: 0 (0 B)
    Cache Remaining: 0 (0 B)
    Cache Used%: 100.00%
    Cache Remaining%: 0.00%
    Xceivers: 1
    Last contact: Mon Dec 11 18:32:32 CST 2017

    可以查看是否处于安全模式!!!

  • 相关阅读:
    SpringMVC---RequestMapping注解类的使用方法
    SpringMVC---简单登录例子
    SpringMVC---简介
    MyBatis---动态SQL
    Hive基本操作
    hive初识
    scala编码规范
    Spark2.x 与 Spark1.x 关系
    spark idea项目打jar包的两种方式
    SparkStreaming 对Window的reduce的方法解析(转载)
  • 原文地址:https://www.cnblogs.com/shanhua-fu/p/8024497.html
Copyright © 2011-2022 走看看