新用户SSH hadoop [英] New user SSH hadoop

查看:199
本文介绍了新用户SSH hadoop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在单节点群集上安装hadoop,任何想法为什么我们需要创建以下内容:


  1. 为什么我们需要SSH访问新用户..?


  2. 为什么应该能够连接到自己的用户帐户?

  3. $ b
  4. 为什么我应该为新用户指定一个密码?


  5. 当所有节点在同一台机器上时,他们是否明确沟通......?/ b>

http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux -single-node-cluster /

解决方案

为什么我们需要为新用户提供SSH访问。 。



因为您想与正在运行Hadoop守护程序的用户进行通信。注意ssh实际上是从一个用户(在一台机器上)到另一个用户(在另一台机器上),而不仅仅是机器到机器。

为什么应该它能够连接到自己的用户帐户?



因为您想通过一个命令启动所有守护进程。否则,您必须单独启动守护进程,方法是为每个守护进程发出命令。为什么要为新用户指定一个密码?为什么要为新用户指定一个密码? >



因为每次启动Hadoop守护进程时都不想输入密码。这会让人恼火,对吧?



当所有节点都在同一台机器上时,为什么它们明确地进行通信。?



明确的意思是什么?请记住,ssh不适用于进程之间的通信。所有的通信都通过TCP / IP进行。 ssh是Hadoop脚本所必需的,这样您就可以从一台机器启动所有守护进程,而无需在每台机器上单独启动每个进程。



HTH


Installation of hadoop on single node cluster , any idea why do we need to create the following

  1. Why do we need SSH access for a new user ..?

  2. Why should it be able to connect to its own user account?

  3. Why should i specify a password less for a new user ..?

  4. When all the nodes are in same machine, why do they are communicating explicitly ..?

http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/

解决方案

Why do we need SSH access for a new user ..?

Because you want to communicate to the user who is running Hadoop daemons. Notice that ssh is actually from a user(on one machine) to another user(on a another machine), and not just machine to machine.

Why should it be able to connect to its own user account?

Because you want to start all the daemons by just one command. Otherwise you have to start the daemons individually, by issuing commands for each daemon. ssh is required for this, even if you are on a single machine.

Why should i specify a password less for a new user ..?

Because you don't want to enter the password everytime you start your Hadoop daemons. That would be irritating, right?

When all the nodes are in same machine, why do they are communicating explicitly ..?

What do you mean by explicitly? Remember, ssh is not for the communication between the processes. All the communication happens over TCP/IP. ssh is required by the Hadoop scripts so that you can start all the daemons from one machines without having to go at each machine and start each process separately over there.

HTH

这篇关于新用户SSH hadoop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆