#NEWLINE# def _ShowHadoopInformation( self ) : #NEWLINE# #INDENT# 'Shows Hadoop master information.' #NEWLINE# instance = self . _GetApi ( ) . GetInstance ( self . master_name ) #NEWLINE# external_ip = instance [ 'networkInterfaces' ] [ 0 ] [ 'accessConfigs' ] [ 0 ] [ 'natIP' ] #NEWLINE# logging . info ( '' ) #NEWLINE# logging . info ( 'Hadoop cluster is set up, and workers will be eventually recognized by the master.' ) #NEWLINE# logging . info ( 'HDFS Console  http://%s:50070/' , instance ) #NEWLINE# logging . info ( 'MapReduce Console  http://%s:50030/' , external_ip ) #NEWLINE# logging . info ( '' )