-upgradeProgress option doesn't exist in Hadoop 2.0 dfsadmin utility. Test needs to be fixed.
TestDFSAdmin in hadoop-smoke is outdated and still relies on presence of -upgradeProgress
Current test expects that /user/hdfs directory exists in the cluster filesystem. Which may or may not be true. Instead of having any assumptions like that it should simply use mkdir -p to ensure the expected structure.
That fixes the issue
Ready to go
+1 – please commit!
Pushed as 82068ca