he built his first hotel in san francisco , california and quickly learned that rooms were never empty for more than one hour so he realized that he had stumbled upon a potential goldmine of a business .