Japan Nikkei average
A man stands next to a stock quotation board displaying Japan's Nikkei average at the Tokyo Stock Exchange in Tokyo December 30, 2014. REUTERS/YUYA SHINO

(Reuters) - Asian markets were set for a cautious close to 2014 on Wednesday as worries about Greece's future in the euro zoneserved as an excuse to take profits on popular trades.

The U.S. dollar also ran into selling on its recent gains, while the euro got no respite as a host of European bonds yields fell to all-time lows after a shockingly sharp fall in Spanish inflation.

Trade was thinned by holidays in Japan, Thailand, South Koreaand the Philippines, while many markets in Europe are either shut or finish early on Wednesday.

Among the scraps of data and indicators due in Asia is a final measure of December Chinese manufacturing activity from HSBC, though it is unlikely to cause a fuss unless wildly out of line with the preliminary reading of 49.5.

Australia was one of the few Asia-Pacific markets open and its main index edged up 0.1 percent .AXJO. MSCI's broadest index of Asia-Pacific shares outside Japan.MIAPJ0000PUS was little changed and is ending the year almost exactly where it started.

The Nikkei .N225 fared better with a rise of 7.1 percent for the year, thanks chiefly to the Bank of Japan's extraordinary campaign of asset buying which lowered the yen while fattening exporters' profit margins.

The stand-out performer was China, where the CSI300 index .CSI300 of the largest listed companies in Shanghai and Shenzhen looked set to end 2014 with gains around 48 percent. Almost all of that came in the last couple of months, as hopes for more aggressive policy stimulus boosted banks and brokers.

On Wall Street, the S&P 500 .SPX eased 0.49 percent on Tuesday but was still on track for a third straight year of double-digit returns. The Dow .DJI fell 0.31 percent, while the Nasdaq.IXIC lost 0.61 percent.

In currencies, the dollar eased on the safe haven yen to stand at 119.42 JPY= from Tuesday's peak of 120.69.

The euro was undermined by sliding European yields amid intense speculation the European Central Bank will have to start buying government bonds to avert deflation.

The single currency was stuck at $1.2160 EUR= having touched a 29-month trough of $1.2123.

German yields hit a new record low on Tuesday, ending 2014 with their biggest annual fall in six years, while yields in Italy and Spain also reached historic lows.

Data out on Tuesday showed Spanish consumer prices fell in December at their fastest rate since July 2009, largely as a result of cheaper oil.

The steep decline made it more likely that inflation for the entire euro zone while slip into negative territory when the data are released on Jan. 7, far below the ECB's target of just under 2 percent.

There was little sign as yet of an end to oil's stunning decline after it hit lows last seen in May 2009. Brent LCOc1 was down 37 cents at $57.51 on Wednesday, while U.S. crude CLc1 lost 36 cents to $53.76 a barrel.