SYDNEY — Australia edged ahead of Sri Lanka on day two of the third and final Test, reaching 342-6 at stumps Friday for a 48-run lead over the tourists. Australia's batsmen were confident of big scores on a friendly wicket after dismissing Sri Lanka for 294 at the end of the opening day but their momentum was checked by the visiting spinners as the pitch cracked in the warm Sydney sunshine. Phil Hughes and David Warner both fell just short of centuries, while Michael Clarke made 50 and Mike Hussey was run out for 25 in what could be his final innings before he retires. Rangana Herath and Tillakaratne Dilshan kept up the pressure but a lack of world-class pace options mean Sri Lanka still faces a struggle to avoid a series whitewash. Australia had looked comfortable even after the early run out of Ed Cowan for just 4; the opener dawdling for a first run and hesitating for a second as he was caught out of his ground at the non-striker's end. Warner got things underway with a first-ball boundary and repeatedly found the rope with a series of punchy cover drives to race his way to 31 runs from 21 balls, putting him in line for a knock to rival his 69-ball ton against India last year. At the other end, Hughes cut his way to a half century at a more sedate pace. But 127-1 became 195-3 after lunch. Warner fell short of his fourth Test ton when he sliced an attempted slog off Dilshan to Dhammika Prasad, who gathered the high ball to end the opener's 84-ball knock. And Hughes tried another cut only to edge Herath to wicketkeeper Dinesh Chandimal. Australia still had Clarke, 2012's leading run scorer with an Australian record 1,595 in a calendar year, and Hussey in the middle and the pair set about building another partnership. Having announced his intention to step down after the game, Hussey strode out to a standing ovation from the SCG crowd and passed through a guard of honor from the Sri Lanka players in recognition of his 79-Test career. The respect from Sri Lanka ended there. Hussey looked composed but a risky single by his captain and a direct hit from Dimuth Karunaratne ended his innings with a run out. Hussey paused only to watch a big-screen replay before trudging off the field to a standing ovation. Clarke went for 50 when Karunaratne took a good running catch at midwicket off Herath. Nuwan Pradeep got an overdue Test wicket when Mitchell Johnson, batting in an unusually high position of No. 7, edged the ball through to Chandimal. The previous delivery also caught the edge but fell just short of slip. A spirited, unbroken seventh-wicket stand between Matthew Wade and Peter Siddle of 35 turned a disappointing total into an adequate one. — AP Scoreboard Sri Lanka (1st innings) 294 Australia (1st innings) D. Warner c Prasad b Dilshan 85 E. Cowan run out (Pradeep) 04 P. Hughes c Chandimal b Herath 87 M. Clarke c Karunaratne b Herath 50 M. Hussey run out (Karunaratne) 25 M. Wade not out 47 M. Johnson c C'mal b Pradeep 13 P. Siddle not out 16 Extras (lb5, w7, nb3) 15 Total (6 wkts; 88 overs) 342 Falls: 1-36 (Cowan), 2-166 (Warner), 3-195 (Hughes), 4-251 (Hussey), 5-271 (Clarke), 6-307 (Johnson). Bowling: Lakmal 20-4-63-0, Pradeep 14-0-83-1 (3nb, 5w), Prasad 11-0-53-0 (2w), Mathews 2-0-11-0, Dilshan 19-2-58-1, Herath 22-3-69-2. To bat: M. Starc, N. Lyon, J. Bird.