I built the 0.8 kafka branch using release SBT task and tried deploying the package. It seems like none of the batch scripts in the branch are working on EC2 Redhat 6.4. Here is the output of start zookeeper script (similar error is noticed with kafka start server script):
$ ./bin/zookeeper-server-start.sh config/zookeeper.properties -bash: ./bin/zookeeper-server-start.sh: /bin/bash^M: bad interpreter: No such file or directory Here is an output of uname -a command on the instance: Linux ip-xx-xx-xx-xx 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Feb 20 12:17:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux