def start_client(props): """ Create an instance of the KFS client. The KFS meta/chunkservers must already be running.""" try: global kfsClient kfsClient = kfs.client(props) except: print "Unable to start the KFS client." sys.exit(1)
def start_client(props): """Create an instance of the KFS client. The KFS meta and chunkservers must already be running. """ try: return kfs.client(props) except: print "Unable to start the KFS client." print "Make sure that the meta- and chunkservers are running." sys.exit(1)