Just troubleshooted an issue i was having with my (early 2014 retina) Mac Book Pro keyboard. All of a sudden, every time i started to type something (i.e. login account name and password) the mac suddenly powered off and tried restarting. This was occurring totally intermittently - no apparent cause. Of course had my tech support check it out and could not replicate, she brought my mac back to my office and as soon as i started typing, it died.
We found out it was pressure on the keyboard - I was typing the keys harder than everyone else.
Tech booted mac and applied pressure to the keyboard and it died, so it is off (thanks to apple care) to apple for a fix and i'm without my mac for a week! Hope this helps anybody out, because we couldn't figure that one out for a couple of days with unsuccessful system checks and virus scans.
Ken Buck
University of South Carolina Beaufort