Preheat oven to 350 degrees. Prepare 2 9” inch round cake pans by spraying with non stick baking spray then lining each pan with parchment paper then lastly spraying the top of the parchment paper.
In a large bowl, add flour, sugar, cinnamon, baking soda and salt then whisk together until combined.
Next whisk in eggs, oil, vanilla, pineapple with juice, mashed bananas and pecans if using until completely combined. The final batter will be thick.
Evenly divide the batter into prepared cake pans and bake for 24-30 minutes or until a toothpick inserted into the center comes out clean.
After cooling for 10-15 minutes, remove cakes and allow them to cool to room temperature before frosting.