The two-alarm blaze was reported at 6:19 a.m. at a four-unit building at 794 Warring Drive, San Jose fire Capt. Chuck Rangel said.
The fire started in the downstairs unit on the right side of the building and spread to the second floor and attic area, Rangel said.
The fire was contained at 8:39 a.m. but was not yet under control as of 8:45 a.m., he said.
A firefighter suffered a minor burn to his hand while battling the blaze. A civilian was also injured, but Rangel did not immediately have information on the victim's injuries.
Eight people were evacuated from the building, and all four units are considered uninhabitable, according to Rangel.
The cause of the fire is under investigation, he said.
Another two-alarm fire was reported in San Jose this morning and caused the evacuation of more than 200 people from a housing complex.
The fire, reported at 1:58 a.m., started in the laundry room of the Emergency Housing Consortium at 2011 Little Orchard St. near Stauffer Boulevard, fire officials said.
The fire was extinguished at 3:13 a.m. at the building, which houses about 215 people. The Emergency Housing Consortium offers a variety of housing and supportive services to assist people at risk of becoming homeless, according to the organization's website.
No one was injured in that fire, and its cause is also under investigation.