Fixed master ID generation so that we don't print negative numbers (https://reviews.apache.org/r/5240).
Fixed master ID generation so that we don't print negative numbers (https://reviews.apache.org/r/5240).

git-svn-id: 03d7800a49d8905ef4fbcc296184319e19243493@1342831 13f79535-47bb-0310-9956-ffa450edef68

zmalik/mesos,wickman/mesos,abudnik/mesos,dforsyth/mesos,craimbert/mesos,neilconway/mesos,andschwa/mesos,chhsia0/mesos,asamerh4/mesos,abudnik/mesos,abudnik/mesos,yuquanshan/customizedMesos,gsantovena/mesos,jpeach/mesos,Gilbert88/mesos,craimbert/mesos,asamerh4/mesos,chhsia0/mesos,enachb/mesos,chhsia0/mesos,dforsyth/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,verizonlabs/mesos,chhsia0/mesos,jpeach/mesos,kaysoky/mesos,neilconway/mesos,wickman/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,asamerh4/mesos,gsantovena/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,enachb/mesos,wickman/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,enachb/mesos,zmalik/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,zmalik/mesos,neilconway/mesos,andschwa/mesos,wickman/mesos,reneploetz/mesos,zmalik/mesos,kaysoky/mesos,gsantovena/mesos,jpeach/mesos,craimbert/mesos,gsantovena/mesos,wickman/mesos,dforsyth/mesos,yuquanshan/customizedMesos,dforsyth/mesos,neilconway/mesos,kaysoky/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,kaysoky/mesos,enachb/mesos,neilconway/mesos,craimbert/mesos,dforsyth/mesos,reneploetz/mesos,reneploetz/mesos,Gilbert88/mesos,Gilbert88/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,kaysoky/mesos,andschwa/mesos,verizonlabs/mesos,asamerh4/mesos,abudnik/mesos,zmalik/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,yuquanshan/customizedMesos,reneploetz/mesos,andschwa/mesos,asamerh4/mesos,jpeach/mesos,chhsia0/mesos,Gilbert88/mesos,Gilbert88/mesos,chhsia0/mesos,neilconway/mesos,gsantovena/mesos,verizonlabs/mesos,abudnik/mesos,craimbert/mesos,kaysoky/mesos,verizonlabs/mesos,gsantovena/mesos,abudnik/mesos,zmalik/mesos,andschwa/mesos,enachb/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,reneploetz/mesos,neilconway/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,enachb/mesos,andschwa/mesos,reneploetz/mesos,wickman/mesos,enachb/mesos,jpeach/mesos,gsantovena/mesos,dforsyth/mesos,asamerh4/mesos,zmalik/mesos,wickman/mesos