Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试按照https://data-flair.training/blogs/installation-of-hadoop-3-x-on-ubuntu/的指南在系统 Ubuntu 16.04 中安装和配置 hadoop
所有步骤均已成功运行,但在尝试运行命令hdfs namenode -format时,我收到一条消息
hdfs namenode -format
bashrc你的文件有问题。只是检查你的variables内部bashrc。甚至当我开始使用 hadoop 时,我也遇到了同样的问题。提及每个变量的正确路径,然后用于source ~/.bashrc提交对bashrc文件所做的更改
bashrc
variables
source ~/.bashrc