hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shi Yu <sh...@uchicago.edu>
Subject how to display a specific text line in dfs
Date Fri, 22 Apr 2011 18:07:45 GMT
I use

hadoop dfs -text <path>  | head-n

hadoop dfs -text <path>  | tail-n

to browse the n-th line from the head or from the tail. But it is slow 
when the file is large. Is there any command that goes directly to a 
specific line in dfs?


View raw message