hdfs write partially

2014-04-28 Thread tdhkx
人: user-return-15203-tdhkx=126@hadoop.apache.org [mailto:user-return-15203-tdhkx=126@hadoop.apache.org] 代表 Harsh J 发送时间: 2014年4月29日 7:31 收件人: 主题: Re: 答复: hdfs write partially You do not need to alter the packet size to write files - why do you think you need larger packets than the default

答复: hdfs write partially

2014-04-28 Thread tdhkx
, since it can’t bigger than 16M(file size > 16M). That’s my problem. Thank a lot for replying. Regards, Ken Huang 发件人: user-return-15182-tdhkx=126@hadoop.apache.org [mailto:user-return-15182-tdhkx=126@hadoop.apache.org] 代表 Harsh J 发送时间: 2014年4月28日 13:30 收件人: 主题: Re: hdfs wr

hdfs write partially

2014-04-27 Thread tdhkx
Hello everyone, Since the default dfs.client-write-packet-size is 64K and it can’t be bigger than 16M. So if write bigger than 16M a time, how to make sure it doesn’t write partially ? Does anyone knows how to fix this? Thanks a lot. -- Ken Huang

答复: 答复: hdfsConnect always success

2014-04-25 Thread tdhkx
Hi, Stanley Shi What I want to say is hdfsConnect should return NULL or error, but it doesn’t. Not the same as the declaration in hdfs.h. Thanks. 发件人: user-return-15164-tdhkx=126@hadoop.apache.org [mailto:user-return-15164-tdhkx=126@hadoop.apache.org] 代表 Stanley Shi 发送时间

答复: hdfsConnect always success

2014-04-18 Thread tdhkx
. Thanks 发件人: user-return-15069-tdhkx=126@hadoop.apache.org [mailto:user-return-15069-tdhkx=126@hadoop.apache.org] 代表 Gordon Wang 发送时间: 2014年4月18日 14:14 收件人: user@hadoop.apache.org 主题: Re: hdfsConnect always success Do you got any error message in your log ? 2014-04-18 10:07 GMT+08

hdfsConnect always success

2014-04-17 Thread tdhkx
Hi, When I run program as followed,connect to a remote host not existed, always return “HDFS connect OK.” int main() { hdfsFS fs = NULL; fs = hdfsConnect("172.16.19.28", 8020); if (fs == NULL) { printf("HDFS connect error.\n");