Heat oil in a large stock pot over medium-high heat. Add onion and cook until soft and translucent.
Add beans, water, salt, pepper, and cinnamon. Cover and bring to a boil. Cook for 15 minutes then simmer for 1 ½ hours, stirring occasionally.
Add the pasta and cook according to package instructions until tender. Remove from heat and serve topped with cheese.
