In a typical Hollywood ending, everything works out. All the loose ends (story lines) are tied up (resolved). In fact, they are tied up with a bow (happy).
If a book ended with the main character, a soccer player, say a goalie, missing a key goal on a penalty kick, so his team loses, but along the way, he realizes that what's really important is his relationship with his son, the Hollywood ending would have him making the save, so his team wins, AND he gets a better relationship with his son.