Closed GoogleCodeExporter closed 8 years ago
It works for me:
GOPATH=`pwd` go get code.google.com/p/weed-fs/go/weed
GOPATH=`pwd` go build code.google.com/p/weed-fs/go/weed
mkdir 1
./weed server -master.port=9333 -dir=./1 -volume.port=8080
I0825 15:14:22 01313 file_util.go:19] Folder ./1 Permission: -rwxrwxr-x
I0825 15:14:22 01313 file_util.go:19] Folder ./1 Permission: -rwxrwxr-x
I0825 15:14:22 01313 file_util.go:19] Folder ./1/filer Permission: -rwx------
I0825 15:14:22 01313 topology.go:84] Using default configurations.
I0825 15:14:22 01313 master_server.go:56] Volume Size Limit is 30000 MB
I0825 15:14:22 01313 server.go:181] Start Weed Master 0.63 beta at :9333
I0825 15:14:22 01313 raft_server.go:84] Initializing new cluster
I0825 15:14:22 01313 master_server.go:86] [ localhost:9333 ] I am the leader!
I0825 15:14:22 01313 store.go:202] Store started on dir: ./1 with 0 volumes max
7
I0825 15:14:22 01313 server.go:214] Start Weed volume server 0.63 beta at :8080
I0825 15:14:22 01313 node.go:207] topo adds child DefaultDataCenter
I0825 15:14:22 01313 node.go:207] topo:DefaultDataCenter adds child DefaultRack
I0825 15:14:22 01313 node.go:207] topo:DefaultDataCenter:DefaultRack adds child
127.0.0.1:8080
^CI0825 15:14:30 01313 volume_server.go:81] Shutting down volume server...
I0825 15:14:30 01313 volume_server.go:83] Shut down successfully!
go version
go version go1.2.2 linux/amd64
Maybe it's a problem with golang 1.3?
Original comment by claudiu....@gmail.com
on 25 Aug 2014 at 12:18
artpar, I could not reproduce this. Did you have a raft library before? Maybe
you need to do
go get -u github.com/goraft/raft/protobuf
to update the library.
Original comment by chris...@gmail.com
on 25 Aug 2014 at 6:07
Alright thanks. The protobuf library was the issue. There was this other issue
which said protobuf was breaking the build because of the "Undefinds". And
there was some other project which was broken by this issue and some said the
temp solution was to use this
https://github.com/otoolep/raft/tree/master/protobuf
instead of those files. so i pulled those. That worked when building but
breaking at runtime.
Thanks.
Original comment by art...@gmail.com
on 26 Aug 2014 at 10:52
Original comment by chris...@gmail.com
on 26 Aug 2014 at 5:28
Original issue reported on code.google.com by
art...@gmail.com
on 25 Aug 2014 at 8:59