def get_configured_hadoop_version():
 return hadoopcli().version.lower()

def get_configured_hadoop_version ( ) : return hadoopcli ( ) . version . lower ( )
cdh4 has a slightly different syntax for interacting with hdfs via the command line .