original_docstring: Create a proxy user on OneFS.
docstring: Create a proxy user on OneFS.
docstring_tokens: Create a proxy user on OneFS .
code: def create_proxy_user(self, proxy_user_name, members):
          """Create a proxy user on OneFS."""
          try:
              LOGGER.info(
                  'Creating the %s proxy user with the following members: %s...',
                  proxy_user_name,
                  ', '.join(
                      '{0} ({1})'.format(member_name, member_type)
                      for member_name, member_type in members
                  ),
              )
              self.onefs.create_hdfs_proxy_user(
                  name=proxy_user_name,
                  members=members,
                  zone=self.onefs_zone,
              )
          except isilon_hadoop_tools.onefs.APIError as exc:
              if exc.proxy_user_already_exists_error(proxy_user_name=proxy_user_name):
                  LOGGER.warning(exc.proxy_user_already_exists_error_format.format(proxy_user_name))
                  return
              raise
code_tokens: def create_proxy_user ( self , proxy_user_name , members ) : try : LOGGER . info ( 'Creating the %s proxy user with the following members: %s...' , proxy_user_name , ', ' . join ( '{0} ({1})' . format ( member_name , member_type ) for member_name , member_type in members ) , ) self . onefs . create_hdfs_proxy_user ( name = proxy_user_name , members = members , zone = self . onefs_zone , ) except isilon_hadoop_tools . onefs . APIError as exc : if exc . proxy_user_already_exists_error ( proxy_user_name = proxy_user_name ) : LOGGER . warning ( exc . proxy_user_already_exists_error_format . format ( proxy_user_name ) ) return raise
short_docstring: Create a proxy user on OneFS.
short_docstring_tokens: Create a proxy user on OneFS .
comment: """Create a proxy user on OneFS."""