简体   繁体   中英

How to print the pipe output in Hadoop cascading

I have big query(SAS report) and converting that query into cascading flow. Just for debugging purpose, i like to print each pipe output using logger or system.out.println.

Please suggest me how to do this in hadoop cascading tool.

Thanks, Saravanan

pipe = new Each(pipe, new Debug("displayText", true));

true is used to display header in data. Set it to false if you do not want header info. With this, you will see every line of data in pipe with the column name visit here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM