def namenode_format(force=None):
 force_param = ''
 if force:
  force_param = '-force'
 return _hadoop_cmd('namenode', 'format', '-nonInteractive', force_param)

def namenode_format ( force = None ) : force_param = '' if force : force_param = '-force' return _hadoop_cmd ( 'namenode' , 'format' , '-nonInteractive' , force_param )
format a name node .