Both my parents have osteoarthritis. Does the pain in my upper back mean that I'm getting it too?

Not necessarily . Osteoarthritis can definitely be passed on to offspring, but that doesn't mean your back problem is due to this disease. I would have it checked for a better idea of what you are dealing with. Don't put it off.