Ubuntu 14.04 LTS下安装Hadoop 1.2.1(集群分布式模式)(2)

linuxidc@ubuntu:/usr/lib/jvm/java$ sudo groupadd hadoop [sudo] password for linuxidc: jerry@ubuntu:/usr/lib/jvm/java$ useradd hadoop -g hadoop useradd: Permission denied. useradd: cannot lock /etc/passwd; try again later. linuxidc@ubuntu:/usr/lib/jvm/java$ sudo useradd hadoop -g hadoop linuxidc@ubuntu:/usr/lib/jvm/java$

3. 修改/etc/hosts文件,配置master, slave1, slave2的主机IP地址和主机名的映射关系。修改/etc/hostname文件,配置本机的电脑名。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/1fd0de3a766f8115d0277278e193c214.html