To execute the wordcount example I had to issue the command:
hadoop jar /usr/hdp/2.2.4.2-2/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount /hin /hout
But is there anything I can edit within Hadoop, ie classpath, so I just issue
hadoop jar hadoop-mapreduce-examples.jar wordcount /hin /hout