Software company Cloudera raises $2.14 billion in the loan market as private-equity firms KKR & Co. and Clayton Dubilier & Rice LLC look to take the company private.