This is a great question. To make it work safely, I used app-id instead of app-name here now. The app-id's format is like 'app-20140122151406-0002' generated inner at spark, it won't have the problems you concerned.