circleybx
2020-10-15 17:47Linux 搭建Hadoop集群执行命令start-dfs.sh报错
[root@node01 hadoop-2.7.5]# sbin/start-dfs.sh
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
Starting namenodes on [node01]
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: Error: JAVA_HOME is not set and could not be found.
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: ssh: Could not resolve hostname \357\273\277node01: Name or service not known
node03: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node03: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node03: Error: JAVA_HOME is not set and could not be found.
node02: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node02: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node02: Error: JAVA_HOME is not set and could not be found.
Starting secondary namenodes [node01]
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: Error: JAVA_HOME is not set and could not be found.
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
[root@node01 hadoop-2.7.5]# sbin/start-dfs.sh
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
Starting namenodes on [node01]
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: Error: JAVA_HOME is not set and could not be found.
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node02: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node02: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node02: Error: JAVA_HOME is not set and could not be found.
node03: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node03: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node03: Error: JAVA_HOME is not set and could not be found.
node01: ssh: Could not resolve hostname \357\273\277node01: Name or service not known
Starting secondary namenodes [node01]
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
node01: /export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
node01: Error: JAVA_HOME is not set and could not be found.
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1: syntax error near unexpected token ('
# Licensed to the Apache Software Foundation (ASF) under one'
/export/servers/hadoop-2.7.5/etc/hadoop/hadoop-env.sh: line 1:
You have new mail in /var/spool/mail/root
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- hadoop(hdfs):command not found.如何解决?
- linux
- centos
- 1个回答
- hadoop集群搭建 datenode三个节点已启动,web管理界面显示3个live nodes,但点进去查看节点情况只显示了一个datenode!
- 云计算
- linux
- centos
- 1个回答
- Node.js应用程序的服务器配置
- apache
- configuration-files
- php
- node.js
- 1个回答
- hadoop集群搭建好后Datenode诡异的再master机器上开启,没有在slave机器上开启
- hadoop集群
- 4个回答
- 在eclipse运行hadoop mapreduce例子报错
- mapreduce
- eclipse
- hadoop
- 1个回答