Preheat the oven to 425 degrees Fahrenheit.
Cut up sweet potatoes into small ½ inch pieces. Trim and cut green beans in half.
In a large bowl combine sweet potatoes, green beans, olive oil, pecans, and seasonings. Toss well with a large spoon.
Pour the vegetables onto a sheet pan and spread them around evenly. Roast in the oven for 20 minutes.