John Mayer was allegedly jealous of ex-girlfriend Katy Perry's friendship with her former husband Russell Brand.