add environment variables for namenode format