예제 #1
0
파일: write.py 프로젝트: Cloudxtreme/vz
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)
예제 #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)
예제 #3
0
파일: rw.py 프로젝트: bhanug/kosmosfs
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)
예제 #4
0
파일: rw.py 프로젝트: 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)