Running and Verification
Installing Ambari and Hadoop
Deploy Ambari and then on it, install the hadoop-hdfs-3.2.2-1.el7.aarch64.rpm package that you have rebuilt in Rebuilding the Software Package. (Installing Hadoop requires dependency packages. Rebuild the x86 RPM package in a similar procedure.)
Figure 1 shows the physical networking.
DFSIO Write Test
- Log in to the server node and perform a DFSIO write test.Write test command:
sudo -u hdfs hadoop jar /usr/hdp/2.6.3.0-235/hadoop-mapreduce/hadoop-mapreduce-client-jobclient-2.7.3.2.6.3.0-235-tests.jar TestDFSIO -write -nrFiles 20 -size 1024 -resFile /tmp/TestDFSIOresults.txt
- Check the write result. Figure 2 shows a successful write and the DFSIO write test is successful.
DFSIO Read Test
- Log in to the server node and perform a DFSIO read test.
Read test command:
sudo -u hdfs hadoop jar /usr/hdp/2.6.3.0-235/hadoop-mapreduce/hadoop-mapreduce-client-jobclient-2.7.3.2.6.3.0-235-tests.jar TestDFSIO -read -nrFiles 20 -size 1024 -resFile /tmp/TestDFSIOresults.txt
- Check the read result. Figure 3 shows a successful read and the DFSIO read test is successful.
Parent topic: Practice 2: Rebuilding the Hadoop Software Package



