It's very easy to install and configure Hadoop over Fedora 22.
1. Install the following packages:
sudo dnf install hadoop-common hadoop-hdfs hadoop-libhdfs hadoop-mapreduce hadoop-mapreduce-examples hadoop-yarn
2. Now you should format the namenode:
runuser hdfs -s /bin/bash /bin/bash -c "hadoop namenode -format" # if this don't work, just run "hadoop namenode -format"
3. Start and enable services to start up with the system:
systemctl start hadoop-namenode hadoop-datanode hadoop-nodemanager hadoop-resourcemanager
systemctl enable hadoop-namenode hadoop-datanode hadoop-nodemanager hadoop-resourcemanager
4. Now you just have to run the following commands:
hdfs-create-dirs
runuser hdfs -s /bin/bash /bin/bash -c "hadoop fs -mkdir /user/anyTestUsername"
runuser hdfs -s /bin/bash /bin/bash -c "hadoop fs -chown tstclair /user/anyTestUsername"
If you would like to know more, please check this Fedora Wiki (outdated) or this tutorial (also outdated).