Questions tagged «hadoop»

5
如何安装Hadoop?
我正在尝试在Ubuntu 12.04版本中安装Hadoop。按照http://michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/中的说明 ,我是java-6-openjdk从Ubuntu软件中心安装的。我已经订java_home了.bashrc。也在java_homeHadoop中设置conf/env.sh。格式化namenode时,出现以下错误: usr/lib/jvm/java-6-openjdk/bin/java no such file or directory. 谢谢。但这是一个64位操作系统。
26 hadoop 

2
如何撤消ssh-copy-id?
我有一个2节点hadoop集群。 我在主服务器上运行了此命令: $ssh-copy-id -i /home/hadoop/.ssh/id_rsa.pub hadoop@192.168.1.1 我该如何撤消呢?我实际上想重新分配密钥。 192.168.1.1 是奴隶。
15 10.04  ssh  hadoop 

1
如何找到我正在运行的Zookeeper的版本?
我的笔记本电脑上运行的是Ubuntu-12.04 VM,我使用以下命令在其上安装了zookeeper sudo apt-get install zookeeper 现在,对于传统的Ubuntu程序,我使用--version命令行选项检查版本。例如 gcc --version 给出gcc的版本为4.6.3(例如) 同样,我如何找出zookeeper的版本?首先,它没有一个称为zookeeper的二进制文件。它确实有一个二进制文件zooinspector,它不响应`--version。 我是动物园管理员的新手。任何帮助,将不胜感激。

2
在Hadoop中启动单个节点群集时出现“权限被拒绝”错误
我正在Ubuntu 10.10中工作,正在尝试在Hadoop中启动单节点集群。 hadoop@abraham-Dimension-3000:/usr/local/hadoop$ bin/start-all.sh mkdir: cannot create directory `/usr/local/hadoop/bin/../logs': Permission denied starting namenode, logging to /usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-abraham-Dimension-3000.out /usr/local/hadoop/bin/hadoop-daemon.sh: line 117: /usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-abraham-Dimension-3000.out: No such file or directory head: cannot open `/usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-abraham-Dimension-3000.out' for reading: No such file or directory localhost: mkdir: cannot create directory `/usr/local/hadoop/bin/../logs': Permission denied localhost: starting datanode, logging to /usr/local/hadoop/bin/../logs/hadoop-hadoop-datanode-abraham-Dimension-3000.out …
10 hadoop 

3
无法SSH本地主机
我无法使用SSH本地主机。我在Ubuntu 12.04 LTS(32位)上也安装了OpenSSH服务器。 连接到已安装hadoop的网络(ip:192.168.1.2),正在为本地计算机运行hadoop。 这是我得到的: root@kunal-Extensa-4620:/# ssh -vvv localhost OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/id_rsa …
10 ssh  localhost  hadoop 

1
在HIVE 3.0.0中发生了JNI错误
我成功安装了Hadoop,并且工作正常,但是当我安装Hive并hive在终端中运行命令时,出现此错误 Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64 at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983) at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/JarFile.java:1017) at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.java:399) at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524) at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:480) at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIndex.java:114) at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:640) at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:632) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at jdk.internal.loader.URLClassPath$JarLoader.ensureOpen(java.base@9-internal/URLClassPath.java:631) at jdk.internal.loader.URLClassPath$JarLoader.<init>(java.base@9-internal/URLClassPath.java:606) at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:386) at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:376) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.