English 中文(简体)
Hadoop 溪流体不可行
原标题:Hadoop streaming grep does not work

Grep似乎没有为单行走而努力。

For: hadoop jar /usr/local/hadoop-0.20.2/contrib/streaming/hadoop-0.20.2-streaming.jar -input /user/root/tmp2/user.data -output /user/root/selected_data -mapper /bin/grep 1938678460 -reducer wc -jobconf mapred.output.compress=false

I get: java.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 1 at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:311) at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:545) at org.apache.hadoop.streaming.PipeMapper.close(PipeMapper.java:132) at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:57) at org.apache.hadoop.streaming.PipeMapRunner.run(PipeMapRunner.java:36) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:17

任何想法?

I also tried: -mapper cat -reducer /bin/grep 1938678460 (cat works, grep does not)

...... 我也检查了所有机器,这些机器有:

Grep没有工作,或者没有东西?

最佳回答

我曾尝试过这番事,但是,如果找不到一些东西,则用一部非零的撤离法进行 gr。 如果地图确实含有你 gr的痕迹,那么你就会拿到一部非零的撤离法, had将出现错误。 也许有些东西如“白白化”工程。

问题回答

暂无回答




相关问题
Multi-bitrate/dynamic rate for progressive FLV playback

Is there a way to get multi-bitrate playback working with progessive playback without having to download all versions of the file? People all coming up with all kinds of cool ways to make progressive ...

How to stream large Files using JAXB Marshaller?

The Problem I m facing is how to marshall a large list of objects into a single XML File, so large I can not marshall the complete list in one step. I have a method that returns these objects in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

热门标签