gpt4 book ai didi

hadoop - 在Hadoop 64位的Hadoop 2.2.0安装麻烦

转载 作者:行者123 更新时间:2023-12-02 22:06:55 27 4
gpt4 key购买 nike

在安装hadoop 2.2.0时,我想到了这个错误。请帮我解决这个问题。

Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-15-generic x86_64)
  • 文档:https://help.ubuntu.com/
    Last login: Mon May 19 12:02:59 2014 from localhost
    vandana@Vandana:~$ start-all.sh
    This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
    14/05/20 17:49:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    Starting namenodes on [localhost]
    localhost: mkdir: cannot create directory `/usr/local/hadoop/logs': Permission denied
    localhost: chown: cannot access `/usr/local/hadoop/logs': No such file or directory
    localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-vandana-namenode-Vandana.out
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 151: /usr/local/hadoop/logs/hadoop-vandana-namenode-Vandana.out: No such file or directory
    localhost: head: cannot open `/usr/local/hadoop/logs/hadoop-vandana-namenode-Vandana.out' for reading: No such file or directory
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 166: /usr/local/hadoop/logs/hadoop-vandana-namenode-Vandana.out: No such file or directory
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 167: /usr/local/hadoop/logs/hadoop-vandana-namenode-Vandana.out: No such file or directory
    localhost: mkdir: cannot create directory `/usr/local/hadoop/logs': Permission denied
    localhost: chown: cannot access `/usr/local/hadoop/logs': No such file or directory
    localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-vandana-datanode-Vandana.out
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 151: /usr/local/hadoop/logs/hadoop-vandana-datanode-Vandana.out: No such file or directory
    localhost: head: cannot open `/usr/local/hadoop/logs/hadoop-vandana-datanode-Vandana.out' for reading: No such file or directory
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 166: /usr/local/hadoop/logs/hadoop-vandana-datanode-Vandana.out: No such file or directory
    localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 167: /usr/local/hadoop/logs/hadoop-vandana-datanode-Vandana.out: No such file or directory
    Starting secondary namenodes [0.0.0.0]
    0.0.0.0: mkdir: cannot create directory `/usr/local/hadoop/logs': Permission denied
    0.0.0.0: chown: cannot access `/usr/local/hadoop/logs': No such file or directory
    0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-vandana-secondarynamenode-Vandana.out
    0.0.0.0: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 151: /usr/local/hadoop/logs/hadoop-vandana-secondarynamenode-Vandana.out: No such file or directory
    0.0.0.0: head: cannot open `/usr/local/hadoop/logs/hadoop-vandana-secondarynamenode-Vandana.out' for reading: No such file or directory
    0.0.0.0: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 166: /usr/local/hadoop/logs/hadoop-vandana-secondarynamenode-Vandana.out: No such file or directory
    0.0.0.0: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 167: /usr/local/hadoop/logs/hadoop-vandana-secondarynamenode-Vandana.out: No such file or directory
    14/05/20 17:50:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    starting yarn daemons
    mkdir: cannot create directory `/usr/local/hadoop/logs': Permission denied
    chown: cannot access `/usr/local/hadoop/logs': No such file or directory
    starting resourcemanager, logging to /usr/local/hadoop/logs/yarn-vandana-resourcemanager-Vandana.out
    /usr/local/hadoop/sbin/yarn-daemon.sh: line 124: /usr/local/hadoop/logs/yarn-vandana-resourcemanager-Vandana.out: No such file or directory
    head: cannot open `/usr/local/hadoop/logs/yarn-vandana-resourcemanager-Vandana.out' for reading: No such file or directory
    /usr/local/hadoop/sbin/yarn-daemon.sh: line 129: /usr/local/hadoop/logs/yarn-vandana-resourcemanager-Vandana.out: No such file or directory
    /usr/local/hadoop/sbin/yarn-daemon.sh: line 130: /usr/local/hadoop/logs/yarn-vandana-resourcemanager-Vandana.out: No such file or directory
    localhost: mkdir: cannot create directory `/usr/local/hadoop/logs': Permission denied
    localhost: chown: cannot access `/usr/local/hadoop/logs': No such file or directory
    localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-vandana-nodemanager-Vandana.out
    localhost: /usr/local/hadoop/sbin/yarn-daemon.sh: line 124: /usr/local/hadoop/logs/yarn-vandana-nodemanager-Vandana.out: No such file or directory
    localhost: head: cannot open `/usr/local/hadoop/logs/yarn-vandana-nodemanager-Vandana.out' for reading: No such file or directory
    localhost: /usr/local/hadoop/sbin/yarn-daemon.sh: line 129: /usr/local/hadoop/logs/yarn-vandana-nodemanager-Vandana.out: No such file or directory
    localhost: /usr/local/hadoop/sbin/yarn-daemon.sh: line 130: /usr/local/hadoop/logs/yarn-vandana-nodemanager-Vandana.out: No such file or directory
  • 最佳答案

    start-dfs.sh和start-mapred.sh而不是start-all.sh
    而且您的配置文件hdfs-site.xml,core-site.xml,mapred-site.xml中似乎存在错误
    选中此选项以进行逐步安装:Hadoop Installation

    关于hadoop - 在Hadoop 64位的Hadoop 2.2.0安装麻烦,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23759835/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com