This is how I setup Hadoop on Windows, for anyone looking to setup Hadoop go through this : http://v-lad.org/Tutorials/Hadoop/00%20-%20Intro.html. Everything else that I tried was too complicated or had steps missing or inconsistent.
Could not find default endpoint element that references contract in the ServiceModel client configuration section October 3, 2012
I get this error when testing one of my methods that makes WCF service calls, and at service invocation I get this error :
Could not find default endpoint element that references contract ‘XYZ.IMyInterface’ in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
This happens because the wcf service configuration is possibly missing from app.config file of the test project.
So add service configuration from app.config of the wcf library project and copy it to your test project.
This can also happen if WCF service is in a dll, and that dll is being invoked from another startup project, so then the config will need to be in app.config of the startup project.
How to setup a Command Prompt Here in Windows context menu October 1, 2012
I find it really useful to have an option in windows context menu (right click menu) to open command prompt with present directory as its current directory, so no need to open command prompt and change dir.
This is how to set it up, create a .reg file with following contents :
[HKEY_CLASSES_ROOT\Directory\shell\Command] @="Command &Prompt Here" [HKEY_CLASSES_ROOT\Directory\shell\Command\command] @="cmd.exe \\\"%1\\\""
Now double click on the file, this will enter the settings in registry, and you are ready to use the shortcut.