My niece just had her 2010 Sonata fail at 160,000 miles (it died on the interstate she said it made a lot of noise?). Maintenance was hit or miss.
I'd say it's decent life but the rest of the car was in nice shape but hard to justify an engine swap/repair at that point.
I believe 2010 was the last year for Theta I, those were solid engines. The Theta II came out for 2011 and that's when all the problems started.