I replicated the problem with the vagrant repo that was in the link you sent in your prior post. In the link you provided it describes the Win7 environment, so I assumed you were working with that too. Either way, it looks like this issue has been replicated now in Windows, Ubuntu, and now Mac OS X. Working on a resolution now.
[node1] Executing task 'format_namenode'
[node1] sudo: /opt/hadoop/bin/hdfs namenode -format vagrant -nonInteractive
[node1] out: /opt/hadoop/bin/hdfs: line 276: /usr/java/default/bin/java: No such file or directory
[node1] out: /opt/hadoop/bin/hdfs: line 276: exec: /usr/java/default/bin/java: cannot execute: No such file or directory
[node1] out:
Warning: sudo() received nonzero return code 126 while executing '/opt/hadoop/bin/hdfs namenode -format vagrant -nonInteractive'!
[node1] Executing task 'supervisorctl_start'
[node1] sudo: supervisorctl start namenode
[node1] out: Traceback (most recent call last):
[node1] out: File "/usr/bin/supervisorctl", line 5, in <module>
[node1] out: from pkg_resources import load_entry_point
[node1] out: File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
[node1] out: working_set.require(__requires__)
[node1] out: File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
[node1] out: needed = self.resolve(parse_requirements(requirements))
[node1] out: File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
[node1] out: raise DistributionNotFound(req)
[node1] out: pkg_resources.DistributionNotFound: meld3>=0.6.5
[node1] out:
Fatal error: sudo() received nonzero return code 1 while executing!