2

运行时出现异常

sudo sbin/start-dfs.sh

/usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-functions.sh:第398行:意外标记附近的语法错误<' /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-functions.sh: line 398: 第 213 行:hadoop_validate_classname:找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/hdfs:第 214 行:hadoop_exit_with_usage:找不到命令/usr/local/Cellar/hadoop/3.1.0/libexec/ bin/../libexec/hadoop-config.sh:第 263 行:hadoop_add_client_opts:找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config.sh:行270:hadoop_subcommand_opts:找不到命令/usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config.sh:第273行:hadoop_generic_java_subcmd_handler:找不到命令警告:HADOOP_SECURE_DN_USER已被替换HDFS_DATANODE_SECURE_USER。使用 HADOOP_SECURE_DN_USER 的值 找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config.sh:第 263 行:hadoop_add_client_opts:找不到命令 /usr/local/Cellar/hadoop/3.1。 0/libexec/bin/../libexec/hadoop-config.sh:第 270 行:hadoop_subcommand_opts:找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config .sh:第 273 行:hadoop_generic_java_subcmd_handler:找不到命令警告:HADOOP_SECURE_DN_USER 已被 HDFS_DATANODE_SECURE_USER 替换。使用 HADOOP_SECURE_DN_USER 的值 找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config.sh:第 263 行:hadoop_add_client_opts:找不到命令 /usr/local/Cellar/hadoop/3.1。 0/libexec/bin/../libexec/hadoop-config.sh:第 270 行:hadoop_subcommand_opts:找不到命令 /usr/local/Cellar/hadoop/3.1.0/libexec/bin/../libexec/hadoop-config .sh:第 273 行:hadoop_generic_java_subcmd_handler:找不到命令警告:HADOOP_SECURE_DN_USER 已被 HDFS_DATANODE_SECURE_USER 替换。使用 HADOOP_SECURE_DN_USER 的值 hadoop_generic_java_subcmd_handler:找不到命令警告:HADOOP_SECURE_DN_USER 已被 HDFS_DATANODE_SECURE_USER 替换。使用 HADOOP_SECURE_DN_USER 的值 hadoop_generic_java_subcmd_handler:找不到命令警告:HADOOP_SECURE_DN_USER 已被 HDFS_DATANODE_SECURE_USER 替换。使用 HADOOP_SECURE_DN_USER 的值

4

0 回答 0