Skip to content

Instantly share code, notes, and snippets.

@ppanyukov
Created June 10, 2015 16:38
Show Gist options
  • Save ppanyukov/2859c78acc12065b5ea5 to your computer and use it in GitHub Desktop.
Save ppanyukov/2859c78acc12065b5ea5 to your computer and use it in GitHub Desktop.
Make HDInsight Enumlator hadoop commands work with cygwin
#!/usr/bin/env bash
# A hack to make HDInsight Emulator work with cygwin bash.
# Basically, we don't use bash things which come with the installation.
# Instead, we call out to the Windows cmd scripts to invoke hadoop stuff.
cmd /c "hadoop" $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment