HDFS stands for Hadoop Distributed File System. It is a distributed file system designed to run on commodity hardware. HDFS is the storage component of Apache Hadoop and provides a reliable and fault-tolerant way to store large amounts of data.
In this tutorial, we will learn how to install HDFS on Clear Linux Latest.
tar -xvf hadoop-<version>.tar.gz
Replace <version>
with the version number of the downloaded file.
opt/
:sudo mv hadoop-<version> /opt/
.bashrc
file using a text editor:nano ~/.bashrc
export HADOOP_HOME=/opt/hadoop-<version>
export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
<version>
with the version number of the downloaded file..bashrc
file:source ~/.bashrc
cd /opt/hadoop-<version>/bin
hdfs namenode -format
cd /opt/hadoop-<version>/sbin
./start-dfs.sh
cd /opt/hadoop-<version>/bin
hdfs dfs -mkdir /test
hdfs dfs -ls /
/test
is listed, then HDFS has been successfully installed.In this tutorial, we learned how to install HDFS on Clear Linux Latest. We also learned how to configure the environment variables, format the namenode, start HDFS, and test the installation.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!