tools/bdconfig/lib/google_hadoop/bdconfig_lib/config_commands.py
def Run(self, unused_argv):
    """Main method invoked by appcommands."""
    if not self._flags.enable_service_account_auth:
      flags.MarkFlagAsRequired('client_id', flag_values=self._command_flags)
      # Resetting the flag from itself triggers newly added validators.
      self._flags.client_id = self._flags.client_id

      flags.MarkFlagAsRequired('client_secret', flag_values=self._command_flags)
      # Resetting the flag from itself triggers newly added validators.
      self._flags.client_secret = self._flags.client_secret

    self._UpdateCoreSiteXml()
    self._UpdateHadoopEnv()
Main method invoked by appcommands.
Main method invoked by appcommands.
Main method invoked by appcommands .
def Run(self, unused_argv):
    if not self._flags.enable_service_account_auth:
      flags.MarkFlagAsRequired('client_id', flag_values=self._command_flags)
      self._flags.client_id = self._flags.client_id
      flags.MarkFlagAsRequired('client_secret', flag_values=self._command_flags)
      self._flags.client_secret = self._flags.client_secret
    self._UpdateCoreSiteXml()
    self._UpdateHadoopEnv()
def Run ( self , unused_argv ) : if not self . _flags . enable_service_account_auth : flags . MarkFlagAsRequired ( 'client_id' , flag_values = self . _command_flags ) self . _flags . client_id = self . _flags . client_id flags . MarkFlagAsRequired ( 'client_secret' , flag_values = self . _command_flags ) self . _flags . client_secret = self . _flags . client_secret self . _UpdateCoreSiteXml ( ) self . _UpdateHadoopEnv ( )
Main method invoked by appcommands.
Main method invoked by appcommands .
"""Main method invoked by appcommands.""" # Resetting the flag from itself triggers newly added validators. # Resetting the flag from itself triggers newly added validators.
self
unused_argv