java client;what's worng with me ?

wuhao at bokee.net wuhao at bokee.net
Fri Mar 24 03:50:40 UTC 2006


resolved
I modify mogilfsd; add some print statment;
I find 


cmd=cmd
line=\uffff\uffffCREATE_CLOSE
domain=test&key=wuhao08&fid=19&devid=20&path=http://192.168.0.122:7500/dev20/0/000/000/0000000019.fid
line=\uffff\uffffCREATE_CLOSE
domain=test&key=wuhao08&fid=19&devid=20&path=http://192.168.0.122:7500/dev20/0/000/000/0000000019.fid
\u5904\u7406\u7ed3\u675f
SCALAR(0x854308c)

before cmd have  "\uffff\uffff";

may be Java TelnetClient have probem,or I use worng.







ÒýÓÃ Justin Azoff <JAzoff at uamail.albany.edu>:

> wuhao at bokee.net wrote:
> > Hi:
> >  I write a java test class. bu  CREATE_CLOSE   ses 
> > 
> > ERR unknown_command Unknown+server+command
> > 
> > but a sent it  by telnet 
> > it's ok.
> > 
> > my code:
> 
> [...]
> 
> > 		t.sendAYT(5 * 1000);
> 
> What is this supposed to do?
> 
> I'd recommend directly porting the structure of the perl/python/php
> clients.  The php client is the simplest, but only does the bare minimum
> needed to work... It is a good starting point though.
> 
> 
> -- 
> -- Justin Azoff
> -- Network Performance Analyst
> 





More information about the mogilefs mailing list