_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › WebHDFS

1 #

cluster1 1螳襷 朱 覦蠑語 螳覃伎 一危郁 碁.
webhdfs襯 伎 10覿襷 豢螳 一危磯ゼ 螳語り 矩.

hdfs /tmp/test.txt t1 一危
{"id":1,"nm":"aaa"}
{"id":2,"nm":"aaaa"}
{"id":3,"nm":"aaaaa"}
{"id":4,"nm":"aaaa"}
{"id":5,"nm":"aaaaa"}
{"id":6,"nm":"aaa"}
{"id":7,"nm":"aaa"}
{"id":8,"nm":"aa"}
{"id":9,"nm":"a"}
{"id":10,"nm":"aa"}
t1 203 byte.

hdfs /tmp/test.txt t2 一危
{"id":1,"nm":"aaa"}
{"id":2,"nm":"aaaa"}
{"id":3,"nm":"aaaaa"}
{"id":4,"nm":"aaaa"}
{"id":5,"nm":"aaaaa"}
{"id":6,"nm":"aaa"}
{"id":7,"nm":"aaa"}
{"id":8,"nm":"aa"}
{"id":9,"nm":"a"}
{"id":10,"nm":"aa"}
{"id":11,"nm":"aa"} ---> 蠍磯 豢螳. 
{"id":12,"nm":"aa"}
{"id":13,"nm":"aa"}

solution
offset 覃 .

t1
wget "http://192.168.0.10:50070/webhdfs/v1/tmp/test.txt?op=OPEN&offset=0" -O test1.txt

t2
wget "http://192.168.0.10:50070/webhdfs/v1/tmp/test.txt?op=OPEN&offset=204" -O test2.txt

hadoop metadata螳 伎 .
蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

る 願 語 讌 語 襷 る 蟆豌 覲伎. ( )