timeout - SeaweedFS 超时异常
问题描述
我正在搜索文件存储库以存储我的大数据。所以我找到了 SeaweedFS,它看起来非常适合我的项目。我在本地主机上使用 Windows bash 进行测试,但由于超时问题而出现错误。
命令
./weed server -master.port=9333 -volume.port=8080 -dir="./data"
日志
I0513 18:03:48 12524 file_util.go:20] Folder ./data Permission: -rwxrwxrwx
I0513 18:03:48 12524 master.go:150] current: 169.254.255.169:9555 peers:169.254.255.169:9555
I0513 18:03:48 12524 file_util.go:20] Folder ./data Permission: -rwxrwxrwx
I0513 18:03:48 12524 master_server.go:108] Volume Size Limit is 30000 MB
I0513 18:03:48 12524 master_server.go:196] adminScripts:
I0513 18:03:48 12524 master.go:113] Start Seaweed Master 30GB 1.77 at 0.0.0.0:9555
I0513 18:03:48 12524 disk_location.go:117] Store started on dir: ./data with 0 volumes max 7
I0513 18:03:48 12524 disk_location.go:120] Store started on dir: ./data with 0 ec shards
I0513 18:03:48 12524 volume_grpc_client_to_master.go:27] Volume server start with seed master nodes: [169.254.255.169:9555]
I0513 18:03:48 12524 raft_server.go:47] Starting RaftServer with 169.254.255.169:9555
I0513 18:03:48 12524 raft_server.go:51] Peers Change: [] => [169.254.255.169:9555]
I0513 18:03:48 12524 volume.go:279] Start Seaweed volume server 30GB 1.77 at 0.0.0.0:5001
I0513 18:03:48 12524 raft_server.go:74] Initializing new cluster
I0513 18:03:48 12524 raft_server.go:87] current cluster leader: 169.254.255.169:9555
I0513 18:03:48 12524 master_server.go:151] [ 169.254.255.169:9555 ] I am the leader!
I0513 18:03:48 12524 master.go:137] Start Seaweed Master 30GB 1.77 grpc server at 0.0.0.0:19555
I0513 18:04:08 12524 volume_grpc_client_to_master.go:68] SendHeartbeat to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:08 12524 volume_grpc_client_to_master.go:48] heartbeat error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:08 12524 masterclient.go:75] master failed to keep connected to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:08 12524 masterclient.go:118] master failed to connect with master 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:09 12524 masterclient.go:75] master failed to keep connected to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:09 12524 masterclient.go:118] master failed to connect with master 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:29 12524 masterclient.go:75] master failed to keep connected to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:29 12524 masterclient.go:118] master failed to connect with master 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:30 12524 masterclient.go:75] master failed to keep connected to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:30 12524 masterclient.go:118] master failed to connect with master 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:33 12524 volume_grpc_client_to_master.go:68] SendHeartbeat to 169.254.255.169:9555: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
I0513 18:04:33 12524 volume_grpc_client_to_master.go:48] heartbeat error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 169.254.255.169:19555: i/o timeout"
我在互联网上找不到任何解决方案。
解决方案
删除“./data”文件夹下的所有内容并重新启动。
推荐阅读
- java - J2ssh 获取空输入流
- gmail - Gmail - 非对话视图中的草稿链接
- openedx - 从铁木到杜松的课程导入问题
- material-components - mdc-select 中的箭头键导航不起作用
- flutter - 退出页面颤动时保存在共享首选项中
- python - 为什么以及何时在 Pandas 中使用 append() 而不是 concat()?
- server - Weblogc 日志轮换未按预期工作
- vue.js - 在 GitHub Pages 中部署 Nuxt.js 的问题
- python - Pandas 无法打开 Excel (.xlsx) 文件
- python - 删除多索引数据框中具有重复索引的行