We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ClientGlobal.init("./fdfs_client.conf"); System.out.println("network_timeout=" + ClientGlobal.g_network_timeout + "ms"); System.out.println("charset=" + ClientGlobal.g_charset); TrackerGroup tg = new TrackerGroup(new InetSocketAddress[]{new InetSocketAddress("192.168.121.49", 22122)}); TrackerClient trackerClient = new TrackerClient(tg); TrackerServer trackerServer = trackerClient.getConnection(); if (trackerServer == null) { System.out.println("getConnection return null"); return; } StorageServer storageServer = trackerClient.getStoreStorage(trackerServer); if (storageServer == null) { System.out.println("getStoreStorage return null"); } 返回getStoreStorage return null,我检查过配置,没有问题了,服务端的192.168.121.49:22122(t racker)和192.168.121.49:23000(storage)的端口都可以telnet得上 附fdfs_config,如下: connect_timeout = 2 network_timeout = 30 charset = UTF-8 http.tracker_http_port = 80 http.anti_steal_token = no http.secret_key = FastDFS1234567890 tracker_server = 192.168.121.49:22122 tracker_server = 192.168.121.49:22122
Original issue reported on code.google.com by [email protected] on 22 Feb 2014 at 11:20
[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue reported on code.google.com by
[email protected]
on 22 Feb 2014 at 11:20The text was updated successfully, but these errors were encountered: