On Mon, Sep 27, 2010 at 3:23 AM, Keith Wiley <[email protected]> wrote:
> Is there a particularly good reason for why the "hadoop fs" command supports
> -cat and -tail, but not -head?
>
> ________________________________________________________________________________
> Keith Wiley     [email protected]     keithwiley.com
>  music.keithwiley.com
>
> "I do not feel obliged to believe that the same God who has endowed us with
> sense, reason, and intellect has intended us to forgo their use."
>                                           --  Galileo Galilei
> ________________________________________________________________________________
>
>

Tail is needed to be done efficiently but head you can just do
yourself. Most people probably use

hadoop dfs -cat file | head -5.

Reply via email to