Asian stocks joined the global rally on Tuesday, despite earthquakes in Japan and New Zealand and a pledge by President-elect Donald Trump to pull the U.S. out of the Trans-Pacific Partnership trade deal on his first day in office.

Miners and oil producers pulled indices higher, as Brent crude rose 0.94% to $49.36 a barrel after closing at a three-week high on Monday on optimism that OPEC members meeting in Vienna next week will curb production.

On Monday all four major U.S. stock benchmarks had closed at record highs in tandem for the first time since 1999.

 U.S. futures were up, with Dow Jones futures gaining 0.39%, S&P 500 futures up 0.38% and Nasdaq 100 futures up 0.50%.

In Japan the Nikkei 225 closed up 0.31% at 18,162.94 and the Topix rose 0.32% to 1,447.50 .

The dollar was recently up 0.24% against the yen at ¥111.1400 after an earthquake off the coast of northeastern Japan that was variously reported to be between 6.9 and 7.8 magnitude. The site of the quake was the same as the devastating earthquake and tsunami in March 2011. Nissan Motor (NSANY) said it would suspend work at its Fukushima engine plant after the quake. Its shares fell 1.4%.

Separately, Nissan affiliate Calsonic Kansei (CLKNF) closed up 9.7% after the car parts supplier said it would discuss a bid from Kohlberg Kravis Roberts (KKR) - Get Report for the 41% stake held by Nissan.

Troubled airbag supplier Takata (TKTDY) rose 1.9% after Bloomberg reported it has shortlisted Sweden's Autoliv and Key Safety Systems, of Sterling Heights, Mich. as bidders.

Mitsui Mining & Smelting rose 4.2%.

On mainland China the CSI 300 index was up 0.71% at 3,465.78. In Hong Kong the Hang Seng was up 1.5% at 22,692.19, led by oil companies including Cnooc, PetroChina and China Shenghua Energy.

In Australian the S&P/ASX 200 closed up 1.16% at 5,413.3. Miner BHP Billiton (BHP) - Get Report rose just under 4% and closest rival Rio Tinto (RIO) - Get Report was up 2.2%.

The U.S. Geological Survey reported a 5.6 magnitude earthquake off the eastern coast of New Zealand's north island. The New Zealand dollar slipped 0.06% against the U.S. dollar to $0.7061. 

New Zealand's S&P/NZX 20 fell 0.72% to 4,754.02.

Spot gold was recently up 0.06% at $1,214.91 an ounce.