Comments (3)
我也遇到这个问题了。TFS Version: 2.2.0. OS: Ubuntu 12.04.
echo@echo-pc:~/Documents$ ./tfs-bin/bin/tfstool -s localhost:8100 -i 'put testfile'
[2014-01-03 14:45:39] DEBUG base_packet_factory.cpp:48 [140714096424832] pcode: 20, length: 28
[2014-01-03 14:45:39] DEBUG socket.cpp:113 [140714096424832] ����, fd=4, addr=127.0.0.1:8100
[2014-01-03 14:45:39] INFO transport.cpp:394 [140714096424832] ADDIOC, SOCK: 4, 127.0.0.1:8100, RON: 1, WON: 1, IOCount:1, IOC:0x1fe3840
[2014-01-03 14:45:39] DEBUG channelpool.cpp:57 [140714096424832] ������Channel����:25 (48)
[2014-01-03 14:45:39] INFO tfs_session.cpp:812 [140714096424832] get cluster id from nameserver success. cluster id: 1
[2014-01-03 14:45:39] INFO tfs_client_impl.cpp:584 [140714096424832] set cache time: 1800
[2014-01-03 14:45:39] INFO tfs_client_impl.cpp:565 [140714096424832] set cache items: 1000
[2014-01-03 14:45:39] DEBUG base_packet_factory.cpp:48 [140714096424832] pcode: 2, length: 12
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:118 [140714096424832] tfs open success: get block info success, blockid: 207, fileid: 0, mode: 2, ret: 0
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:818 [140714096424832] create file start, client: 0x1fe5390, index: 0, blockid: 207, fileid: 0
[2014-01-03 14:45:39] DEBUG base_packet_factory.cpp:48 [140714096424832] pcode: 21, length: 12
[2014-01-03 14:45:39] DEBUG socket.cpp:113 [140714096424832] ����, fd=6, addr=192.168.1.194:8200
[2014-01-03 14:45:39] INFO transport.cpp:394 [140714096424832] ADDIOC, SOCK: 6, 192.168.1.194:8200, RON: 1, WON: 1, IOCount:2, IOC:0x1fe5630
[2014-01-03 14:45:39] DEBUG channelpool.cpp:57 [140714096424832] ������Channel����:50 (48)
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:755 [140714096424832] do request success. client: 0x1fe5390, index: 0, phase: 1, ret: 0, blockid: 207, fileid: 0, offset: 0, size: 0, crc: 0, inneroffset: 0, filenumber: 0, status: 1, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:588 [140714096424832] send packet. request size: 1, successful request size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:668 [140714096424832] get success response. client id: 0x1fe5390, request size: 1, get response size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:883 [140714096424832] create file name rsp. blockid: 207, fileid: 1, filenumber: 13979639470647934980
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:803 [140714096424832] do response success. index: 0, phase: 1, ret: 0, blockid: 207, fileid: 1, offset: 0, size: 0, crc: 0, inneroffset: 0, filenumber: 13979639470647934980, status: 2, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:914 [140714096424832] tfs write data start, blockid: 207, fileid: 1, size: 10, offset: 0
[2014-01-03 14:45:39] DEBUG base_packet_factory.cpp:48 [140714096424832] pcode: 9, length: 36
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:755 [140714096424832] do request success. client: 0x1fe56b0, index: 0, phase: 2, ret: 0, blockid: 207, fileid: 1, offset: 0, size: 10, crc: 0, inneroffset: 0, filenumber: 13979639470647934980, status: 2, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:588 [140714096424832] send packet. request size: 1, successful request size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:668 [140714096424832] get success response. client id: 0x1fe56b0, request size: 1, get response size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:964 [140714096424832] tfs write data success, crc: 1036843176, offset: 0, size: 10
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:803 [140714096424832] do response success. index: 0, phase: 2, ret: 0, blockid: 207, fileid: 1, offset: 0, size: 10, crc: 1036843176, inneroffset: 0, filenumber: 13979639470647934980, status: 3, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:301 [140714096424832] write success, offset: 0, size: 10, segment count: 1
[2014-01-03 14:45:39] DEBUG base_packet_factory.cpp:48 [140714096424832] pcode: 10, length: 44
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:755 [140714096424832] do request success. client: 0x1fe56b0, index: 0, phase: 3, ret: 0, blockid: 207, fileid: 1, offset: 0, size: 0, crc: 1036843176, inneroffset: 0, filenumber: 13979639470647934980, status: 3, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:588 [140714096424832] send packet. request size: 1, successful request size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:668 [140714096424832] get success response. client id: 0x1fe56b0, request size: 1, get response size: 1
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:1051 [140714096424832] tfs file close success, dsip: 192.168.1.194:8200
[2014-01-03 14:45:39] DEBUG tfs_file.cpp:803 [140714096424832] do response success. index: 0, phase: 3, ret: 0, blockid: 207, fileid: 1, offset: 0, size: 0, crc: 1036843176, inneroffset: 0, filenumber: 13979639470647934980, status: 4, rserver: 192.168.1.194:8200, wserver: 192.168.1.194:8200.
put testfile => success.
[2014-01-03 14:45:39] INFO transport.cpp:460 [140714096424832] DELIOC, IOCount:1, IOC:0x1fe3840
[2014-01-03 14:45:39] DEBUG socket.cpp:122 [140714096424832] �ر�, fd=4, addr=127.0.0.1:8100
[2014-01-03 14:45:39] INFO transport.cpp:460 [140714096424832] DELIOC, IOCount:0, IOC:0x1fe5630
[2014-01-03 14:45:39] DEBUG socket.cpp:122 [140714096424832] �ر�, fd=6, addr=192.168.1.194:8200
from tfs.
me too.
$ echo 'dummy' > testfile
$ /opt/tfs/bin/tfstool -s 1.1.8.85:8100 -i "put testfile"
...
[2014-03-28 10:44:27] DEBUG tfs_file.cpp:803 [140059973834624] do response success. index: 0, phase: 3, ret: 0, blockid: 105, fileid: 1, offset: 0, size: 0, crc: -40123685, inneroffset: 0, filenumber: 6127148426908925957, status: 4, rserver: 1.1.8.85:8200, wserver: 1.1.8.85:8200.
put testfile => (null) success.
[2014-03-28 10:44:28] INFO transport.cpp:460 [140059973834624] DELIOC, IOCount:1, IOC:0x13db660
...
from tfs.
the env of my case:
- Ubuntu 13.10 (3.11.0-18-generic x86_64)
- alibaba/tfs master branch
- one nameserver listen on 8100
- one dataserver listen on 8200, with only one mount path (size 20G)
is it helpful?
from tfs.
Related Issues (20)
- 文档拼写错误 HOT 1
- 请问tfs文件命名用的是什么样的hash算法?fsname.cpp文件下 enc_table 和 dec_table是怎么得到的? HOT 1
- 我使用C++的端口想实现自定义文件名 HOT 1
- tfs带offset写入的问题 HOT 4
- 追加写入数据之后,关闭tfs文件,dataserver出现CRC校验错误 HOT 1
- 这样安装后bin下没有metaserver ,tcserver ,rootserver命令
- tfs连接mysql数据库时使用了oneproxy中间件时报错
- 特殊情况下逻辑块的多个副本分布在相同机柜上 HOT 2
- 写操作落在维护块上可能造成文件重名 HOT 2
- 怎样将TFS中的文件导入到阿里云对象存储? HOT 1
- tfs 的那个版本最稳定,通用, HOT 2
- tfs2.2.16 make编译出现问题 HOT 1
- put testfile => (null) success HOT 1
- ds和ns conf里的ip_addr可以使用hostname吗 HOT 1
- 淘宝已经放弃tfs了 HOT 1
- TFS空间计算容量
- TFS在ubuntu gcc4.8下编译出错 HOT 7
- task.cpp need_add_server_to_map
- NewClient 对象 内存泄漏问题
- int ReplicateBlock::add_cloned_block_map(const uint32_t block_id) 实现没有对传入相同block_id的情况进行处理, 有内存泄漏可能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfs.