Keep Hadoop major version number in a variable.