Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
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)
Esempio n. 4
0
File: rw.py Progetto: Cloudxtreme/vz
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)