Thanks for trying HDP.
From the error you get “java.io.IOException: NameNode is not formatted.”, it seems the Namenode is not formatted successfully during HDFS startup. Can you please get the log files from /var/log/hadoop/hdfs and ftp to us:
In order to continue, you may try to format by running the following command as root:
su – hdfs -c “/usr/lib/hadoop/bin/hadoop namenode -format”
Hope this helps.