Two policemen were among the dead and at least 26 people were wounded in the attack.
Hours after UN Secretary General arrived for talks with Iraqi officials, pair of car bombings in Baghdad killed 11.
A police officer who provided the death toll said the attack also wounded 42 people.
Police and hospital officials said along with the eight killed, 20 people were wounded at the market.
The funeral was for the father of two members of pro-government Sunni militias called Sahwa Councils.
The bomber blew himself up near a line of Sunni pro-government fighters waiting for their salaries.
First attack targeted a line of small restaurants killing 11 people and wounding 25 others.
The attacks come as Iraq faces its greatest challenge since the 2011 withdraw of U.S. troops and overture of militants.
Hollande’s visit to Baghdad is the French president’s first visit to Iraq.
Some of the casualties of the raid were jihadist fighters from the Islamic State or one of its allied Sunni militant groups.
A series of bombings, including three over a span of less than 10 minutes, killed at least 27 people across Baghdad.
The discovery of bullet-riddled bodies was common during the worst days of Iraq’s sectarian bloodletting in 2006 and 2007.
A native of Punjab, Singh had left for Iraq three years ago and was working with a German company.
Government sources said there were at least 25 meetings in the past two weeks to deal with the crisis.
‘We are ready. It can come any minute,’ sleeper cell member says.