specify AM core in yarn-client and yarn-cluster mode