Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def configure(self, env):
import params
env.set_params(params)
tez()
def configure(self, env):
import params
env.set_params(params)
tez()
def configure(self, env, config_dir=None, upgrade_type=None):
"""
Write tez-site.xml and tez-env.sh to the config directory
:param env: Python Environment
:param config_dir: During rolling upgrade, which config directory to save configs to.
E.g., /usr/$STACK/current/tez-client/conf
"""
import params
env.set_params(params)
tez(config_dir)
def configure(self, env):
import params
env.set_params(params)
tez()