FALCON-106 Falcon compilation fails for hadoop-2 profile. Contributed by Shwetha GS