11 2015 档案

摘要:在java代码中有中文注释,使用javac编译时,出现编码报错。 错误: 编码GBK的不可映射字符 问题原因: 在编译的时候,如果我们没有用 encoding参数指定我们的JAVA源程序的编码格式,则javac.exe会获得我们操作系统默认采用的编码格式。 解决方法: 修改文件的编码... 阅读全文
posted @ 2015-11-26 17:19 Vman 阅读(2247) 评论(1) 推荐(0)
摘要:http://www.codeproject.com/Articles/56138/Consistent hashing 阅读全文
posted @ 2015-11-24 19:50 Vman 阅读(204) 评论(0) 推荐(0)
摘要:getfattr用法 用于获取文件扩展属性,返回一系列键值对,参考 "Linux Man Page" 。 常用OPTIONS n name, name=name Dump the value of the named extended attribute extended attrib... 阅读全文
posted @ 2015-11-16 11:33 Vman 阅读(4719) 评论(0) 推荐(0)
摘要:# gluster volume rebalance VOLNAME start# gluster volume rebalance VOLNAME status# gluster volume rebalance VOLNAME stophttp://gluster.readthedocs.org... 阅读全文
posted @ 2015-11-16 11:01 Vman 阅读(535) 评论(0) 推荐(0)