tools/bdconfig/lib/google_hadoop/bdconfig_lib/config_commands.py
def _SetHdfsDefault(self):
    """Helper method for dealing with hdfs-specific default-fs settings."""
    flags.RegisterValidator(
        'namenode_uri', path_validator.AbsoluteHDFSUri,
        flag_values=self._command_flags)
    if not self._flags.namenode_uri:
      namenode_address = self._ExtractNamenodeUriFromRpcAddress()
    else:
      namenode_address = self._flags.namenode_uri

    # Setting the flag from itself triggers newly added validators.
    self._flags.namenode_uri = namenode_address
Helper method for dealing with hdfs-specific default-fs settings.
Helper method for dealing with hdfs-specific default-fs settings.
Helper method for dealing with hdfs - specific default - fs settings .
def _SetHdfsDefault(self):
    flags.RegisterValidator(
        'namenode_uri', path_validator.AbsoluteHDFSUri,
        flag_values=self._command_flags)
    if not self._flags.namenode_uri:
      namenode_address = self._ExtractNamenodeUriFromRpcAddress()
    else:
      namenode_address = self._flags.namenode_uri
    self._flags.namenode_uri = namenode_address
def _SetHdfsDefault ( self ) : flags . RegisterValidator ( 'namenode_uri' , path_validator . AbsoluteHDFSUri , flag_values = self . _command_flags ) if not self . _flags . namenode_uri : namenode_address = self . _ExtractNamenodeUriFromRpcAddress ( ) else : namenode_address = self . _flags . namenode_uri self . _flags . namenode_uri = namenode_address
Helper method for dealing with hdfs-specific default-fs settings.
Helper method for dealing with hdfs - specific default - fs settings .
"""Helper method for dealing with hdfs-specific default-fs settings.""" # Setting the flag from itself triggers newly added validators.
self