- Apache Hadoop 3 Quick Start Guide
- Hrishikesh Vijay Karambelkar
- 213字
- 2021-06-10 19:18:43
Readying your system
Before you start with the prerequisites, you must ensure that you have sufficient space on your Hadoop nodes, and that you are using the respective directory appropriately. First, find out how much available disk space you have with the following command, also shown in the screenshot:
hrishikesh@base0:/$ df -m

The preceding command should present you with insight about the space available in MBs. Note that Apache Hadoop can be set up on a root user account or separately; it is safe to install it on a separate user account with space.
Although you need root access to these systems and Hadoop nodes, it is highly recommended that you create a user for Hadoop so that any installation impact is localized and controlled. You can create a user with a home directory with the following command:
hrishikesh@base0:/$ sudo adduser hadoop
The preceding command will prompt you for a password and will create a home directory for a given user in the default location (which is usually /home/hadoop). Remember the password. Now, switch the user to Hadoop for all future work using the following command:
hrishikesh@base0:/$ su - hadoop
This command will log you in as a Hadoop user. You can even add a Hadoop user in the sudoers list, as given here.
- 集成架構(gòu)中型系統(tǒng)
- 網(wǎng)頁(yè)編程技術(shù)
- Java開發(fā)技術(shù)全程指南
- Visual C++編程全能詞典
- 新手學(xué)電腦快速入門
- 系統(tǒng)安裝與重裝
- 可編程序控制器應(yīng)用實(shí)訓(xùn)(三菱機(jī)型)
- C語(yǔ)言寶典
- 智能生產(chǎn)線的重構(gòu)方法
- MCGS嵌入版組態(tài)軟件應(yīng)用教程
- R Machine Learning Projects
- Ansible 2 Cloud Automation Cookbook
- 機(jī)器學(xué)習(xí)案例分析(基于Python語(yǔ)言)
- 企業(yè)級(jí)Web開發(fā)實(shí)戰(zhàn)
- PHP求職寶典