a workaround for YARN-2380