An important question facing the airline industry is not whether it will face a pilot shortage, but when it will begin.