hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Dong <simond...@gmail.com>
Subject Re: silence/suppress output from mkdir & put
Date Fri, 11 Jul 2014 16:35:49 GMT
The output is probably from stderr. Try:

hadoop fs -mkdir /logs/firsttier/2014/D/03 > /dev/null 2>&1


On Fri, Jul 11, 2014 at 8:01 AM, John Meza <j_mezazap@hotmail.com> wrote:

> I'm try to silence the output of a hdfs load script (*snippets below*),
> but continue to get output. This causes issues when the multiple load
> scripts are put into background.
>
> Am I missing something? Are there switches I could use?
> any info is appreciated.
> John
>
> hadoop fs -mkdir /logs/firsttier/2014/D/03 > /dev/null
> hadoop fs -put Dserver_46927-esw3c_S-2014-03-31-12-201403311600-1700-0.tsv
>
>  /logs/firsttier/2014/D/06/Dserver_46927-esw3c_S-2014-03-31-12-201403311600-1700-0.tsv
> > /dev/null
>

Mime
View raw message