Skip to content

Using Python Binding #30

@haochenpan

Description

@haochenpan

Hi all,

I tried to deploy RAMCloud, and I believe I have started a coordinator and a master on a single machine successfully. However, I have some issue using Python binding.

At coordinator:
obj.master/coordinator -C tcp:host=hostname -s,port=11000 -x zk:127.0.0.1:2181
image

At master:
obj.master/server -L tcp:host=hostname -s,port=11001 -x zk:127.0.0.1:2181 --totalMasterMemory 16000 -f /dev/sda1 --segmentFrames 100 -r 0
image

Also, I have the following env variables:
export LD_LIBRARY_PATH=~/RAMCloud/obj.master/
export PYTHONPATH=~/RAMCloud/bindings/python/

However, at a Python terminal, when I run the fourth line of the script at https://ramcloud.atlassian.net/wiki/spaces/RAM/pages/6848598/Python+Bindings, it gives me the error below, and it won't stop.

image

Any help on this issue? Did I setup RAMCloud successfully?

Also, when I check top, the server and coordinator always take up 100% CPU each, why is that?

image

Another question, does RAMCloud has a shell interpreter, like Cassandra and Redis?

Best wishes,
Roger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions