WeedFS upload to filer server failed

114 views
Skip to first unread message

杨斌

unread,
Mar 14, 2018, 11:06:34 PM3/14/18
to Seaweed File System
Hi,

When I upload a local file to weed filer server, it posted me back the internal error.

I got my weedfs master, volume and filer server created as below -

weed server -master.port=9333 -dir=/home/as/seaweedfs/mdata/1 -volume.port=9080
weed server -master.port=9334 -dir=/home/as/seaweedfs/mdata/2 -volume.port=9081 -master.peers=localhost:9333
weed server -master.port=9335 -dir=/home/as/seaweedfs/mdata/3 -volume.port=9082 -master.peers=localhost:9334

as@xxx:~/seaweedfs$ weed filer -port=8888 -dir=/home/as/seaweedfs/filerdata -master=localhost:9333 -defaultReplicaPlacement=100
I0315 11:03:06  2114 file_util.go:20] Folder /home/as/seaweedfs/filerdata Permission: -rwxrwxr-x
I0315 11:03:06  2114 filer.go:129] Start Seaweed Filer 0.76 at port 8888
I0315 11:03:06  2114 filer_server.go:122] Filer server bootstraps with master localhost:9333



when I tried to upload a file, error occurred:

as@xxx:~/seaweedfs$ curl -F "file=@/home/as/Documents/logbus_files/coretype_existing/air.json" "http://localhost:8888/test/"
{"error":"http://localhost:9333/dir/assign: 500 Internal Server Error"}

can anybody help with this please?

Auto Generated Inline Image 1

杨斌

unread,
Mar 14, 2018, 11:21:09 PM3/14/18
to Seaweed File System
well, i just tried another way to start filer server("weed filter"), which will have the dir value be "/tmp" but not customized, then the uploading succeed....

I changed my dir to have all permission but it still failed when I tested again... Any thoughts?

Chris Lu

unread,
Mar 15, 2018, 12:59:48 AM3/15/18
to Seaweed File System
change defaultReplicaPlacement to 001.

Chris

On Wed, Mar 14, 2018 at 8:21 PM, 杨斌 <yangbin...@gmail.com> wrote:
well, i just tried another way to start filer server("weed filter"), which will have the dir value be "/tmp" but not customized, then the uploading succeed....

I changed my dir to have all permission but it still failed when I tested again... Any thoughts?

--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

杨斌

unread,
Mar 15, 2018, 1:42:56 AM3/15/18
to Seaweed File System
cool, it works now.
thank you
在 2018年3月15日星期四 UTC+8下午12:59:48,ChrisLu写道:
change defaultReplicaPlacement to 001.

Chris
On Wed, Mar 14, 2018 at 8:21 PM, 杨斌 <yangbin...@gmail.com> wrote:
well, i just tried another way to start filer server("weed filter"), which will have the dir value be "/tmp" but not customized, then the uploading succeed....

I changed my dir to have all permission but it still failed when I tested again... Any thoughts?

--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages