fixes and workaround for disabled stack guard warnings of hadoop libs

Looks like Hadoop compilation on JVM didn't use disabled stackguard. Using environment variable workaround to disable annoying warning when running hadoop commands