Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultFastFileStorageClient.getStorageNode(String groupName)获取的storage节点的port=0 #698

Open
XuanfengHong opened this issue Mar 5, 2024 · 3 comments

Comments

@XuanfengHong
Copy link

本地windows子系统已经部署好tracker和storage节点,storage日志:
image
可见storage的port是23000无误

但是从tracker获取的storage的地址,port却是0
image

如果手动修改port=23000
image

上传可以成功
image
说明fdfs本身是OK的

求教为什么这里获取的port却会是0 ?

@happyfish100
Copy link
Owner

感觉是 client SDK 和 server 端版本不匹配导致的。
client SDK 和server端分别用的什么版本?

@XuanfengHong
Copy link
Author

感觉是 client SDK 和 server 端版本不匹配导致的。 client SDK 和server端分别用的什么版本?

啊,不好意思,我是初次学习使用fdfs,请问您说的client SDK是指我引入的fastdfs-client吗?这个用的是1.27.2 ,server端我用fdfs_monitor /etc/fdfs/client.conf 看了一下,应该是6.12.1

请问是需要改一下fastdfs-client版本吗?用哪个版本合适?

@happyfish100
Copy link
Owner

fastdfs-client-java 要使用最新版本,目前是 1.32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants