免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: idmind
打印 上一主题 下一主题

[FastDFS] fastDFS 监控系统 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2012-11-16 13:08 |只看该作者
看了一下,必须得赞。改天再细研究代码

论坛徽章:
0
22 [报告]
发表于 2012-11-19 13:12 |只看该作者
回复 21# pengzai512


   {:2_168:}欢迎批评指教

论坛徽章:
0
23 [报告]
发表于 2012-11-19 21:52 |只看该作者
貌似这个只支持 tracker 自己的内置浏览器?

论坛徽章:
0
24 [报告]
发表于 2012-11-20 18:45 |只看该作者
看楼主文档很不错啊,改天下载来试用一下。

论坛徽章:
0
25 [报告]
发表于 2012-11-27 11:30 |只看该作者
哈,东西做得不错,赞一个,吹毛求疵提下建议:
1.打出来的版本编译版本建议用低版本的编译器。楼主貌似用1.7?
2.tbfile表中有`fileDownLoadCount` int(11) NOT NULL, 该字段在Fdfs_file中没有对应字段,非空限制建议去了。
3.Tools.getClassPath()对路径包含空格的path会报找不到文件滴错误,建议decode下
4.ssh的密码登陆方式,建议把端口曝露出来可配。干嘛要代码默认22呢?
5.viva-fdfs-client客户端jar编译版本放低点吧,低版本环境运行会不支持
6.Group.java中  @OneToMany(mappedBy = "group" 为什么要同时标记在getter和setter方法上呢?

纯粹吹毛求疵哈。

论坛徽章:
0
26 [报告]
发表于 2013-03-06 09:58 |只看该作者
进入系统后,点击性能监控,报如下错误:

09:32:00,009 ERROR TaskUtils$LoggingErrorHandler:95 - Unexpected error occurred in scheduled task.
java.io.IOException: byte array length: 97 is invalid!
        at org.csource.fastdfs.ProtoStructDecoder.decode(ProtoStructDecoder.java:3
        at org.csource.fastdfs.TrackerClient.listGroups(TrackerClient.java:612)
        at cn.me.fdfs.service.impl.JobServiceImpl.getGroupInfoByMinute(JobServiceImpl.java:105)
        at cn.me.fdfs.service.impl.JobServiceImpl.updateGroupByMinute(JobServiceImpl.java:5
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy28.updateGroupByMinute(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
        at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:17
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

这个应该是取不到fastdfs的参数?

论坛徽章:
0
27 [报告]
发表于 2013-03-06 10:02 |只看该作者
如果错误,找不到原因,这系统就用不了,可惜了。。。

论坛徽章:
0
28 [报告]
发表于 2013-03-06 10:18 |只看该作者
没有使用tracker内置的http,是不是这原因?
默认的配置:

论坛徽章:
0
29 [报告]
发表于 2013-03-06 10:19 |只看该作者
http.tracker_http_port = 8080
http.anti_steal_token = no
http.secret_key = FastDFS1234567890
没有改变,

论坛徽章:
0
30 [报告]
发表于 2013-03-22 16:18 |只看该作者
是版本问题。

回复 26# guliny


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP