Code Monkey home page Code Monkey logo

Comments (3)

echo-xu avatar echo-xu commented on May 18, 2024

我也遇到这个问题了。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.

ronnin avatar ronnin commented on May 18, 2024

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.

ronnin avatar ronnin commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.