Depends on your point of view. Certainly it was profitable for the investors. So is the question has YouTube ever been cash flow positive?
I do not believe that Google breaks out earnings specifically for YouTube, and I am not sure that they differentiate search earnings earned through YouTube as AdSense revenue or for YouTube. But YouTube certainly does generate significant revenue for Google.