Hadoop 之 ENV

参考链接

https://github.com/apache/hadoop/blob/rel/release-3.3.3/hadoop-common-project/hadoop-common/src/site/markdown/UnixShellGuide.md

HADOOP_CLIENT_OPTS

This environment variable is used for all end-user, non-daemon operations. It can be used to set any Java options as well as any Apache Hadoop options via a system property definition. For example:

bash 复制代码
HADOOP_CLIENT_OPTS="-Xmx1g -Dhadoop.socks.server=localhost:4000" hadoop fs -ls /tmp

在以下场景 HADOOP_CLIENT_OPTS 的效果 和 HADOOP_OPTS 是一样的。

bash 复制代码
export HADOOP_CLIENT_OPTS="-agentpath:/home/test/jars/async-profiler-2.8.3-linux-x64/build/libasyncProfiler.so=start,event=cpu,file=test.html"
time hadoop  jar HadoopScience-1.0.0-SNAPSHOT.jar    /benchmarks/5GUNIT/TestDFSIO/io_data/test_io_1
相关推荐
坚持学习前端日记24 分钟前
从零开始构建小说推荐智能体 - Coze 本地部署完整教程
大数据·人工智能·数据挖掘
smchaopiao26 分钟前
Hive中的排序与分桶技术详解
数据仓库·hive·hadoop
IDIOT___IDIOT1 小时前
关于 git 进行版本管理的时候 gitignore 写入忽略规则而不生效的问题
大数据·git·elasticsearch
不想看见4041 小时前
Git 误删急救手册
大数据·git·elasticsearch
少许极端1 小时前
消息队列-RabbitMQ(1)
分布式·消息队列·rabbitmq
网络工程小王1 小时前
【大数据技术详解】——Elasticsearch技术(学习笔记)
大数据·大数据技术·向量查询
TOWE technology1 小时前
从“制造”到“智造”:智能PDU如何成为智慧工厂的电力“神经中枢”
大数据·人工智能·制造·数据中心·电源管理·智能pdu
2401_891655812 小时前
Git误操作急救手册大纲
大数据·elasticsearch·搜索引擎
LaughingZhu2 小时前
Product Hunt 每日热榜 | 2026-03-22
大数据·数据库·人工智能·经验分享·搜索引擎
进击的雷神2 小时前
Trae AI IDE 完全指南:从入门到精通
大数据·ide·人工智能·trae