hdfs dfs -du -h 或者 hadoop fs -du -h 输出三列数据的含义

news/2024/5/20 2:58:11 标签: hadoop, hdfs, 大数据, jvm, linux

显示图
第一列表示该目录下总文件大小

第二列表示该目录下所有文件在集群上的总存储大小
与你的副本数相关,我的副本数是3 ,
所以第二列的是第一列的三倍 (第二列内容=文件大小*副本数)

第三列表示你查询的目录


http://www.niftyadmin.cn/n/1276367.html

相关文章

mysql远程登录配置

允许root用户在任何地方进行远程登录,并具有所有库任何操作权限,具体操作如下: 1)在本机先使用root用户登录mysql: 命令行执行:mysql -u root -p 输入密码(第7步中设置的密码)&am…

HDFS中block的大小

block的大小与修改 Hadoop2.x/3.x版本中Block的默认大小为128M&#xff0c;早前版本中默认为64M&#xff0c;开发人员可以在hdfs-site.xml中添加如下标标签进行修改。 <!-- hdfs-site.xml --> <property><name>dfs.blocksize</name>#value值代表blo…

springBoot整合SqlSessionTemplate使用

实际开发中我们操作数据库持久化&#xff0c;总是需要写重复的mapper&#xff0c;service&#xff0c;xml浪费了我们大量的时间&#xff0c;在这里推荐大家使用SqlSessionTemplate 1.application.xml配置 server.port8081 #server.servlet.context-path/recordLog#数据源必填…

mysql 5.7 invalid default value for timestamp field

这是因为sql_mode中的NO_ZEROR_DATE导制的。 在strict mode中不允许0000-00-00作为合法日期&#xff0c;可以使用 show variables like sql_mode查看sql_mode&#xff0c;一种是把sql_modeSTRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUT‌​ION 另一种设置AL…

vue nodejs 构建_如何使用nodejs后端打字稿版本开发和构建vue js应用

vue nodejs 构建There are so many ways we can build Vue.js apps and ship for production. One way is to create the Vue app with NodeJS or Java, and another way is to develop and serve that static content with the NGINX web server. With NodeJS, we have to dea…

springboot查看所有的Bean

修改启动类的代码&#xff0c;配置如下&#xff1a; public static void main(String[] args) {ConfigurableApplicationContext run SpringApplication.run(启动类xxx.class, args);String[] beanDefinitionNames run.getBeanDefinitionNames(); }String[]存储着所有的bean…

React中的编码实践

Let’s first be clear that this is not a post with all the best coding practices in React. It’s a post about some of the practices that I have learned over years of my experience while working with React. They might not be the best ones, but they surely a…

使用vue js和传单创建交互式位置选择器

Interactive maps are good for displaying geographic information. But we can also use them to get location data from users. This comes in handy if we are building location-based applications and we want an alternative to address text fields.交互式地图非常适…