[
https://issues.apache.org/jira/browse/MAPREDUCE-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Douglas updated MAPREDUCE-1589:
-------------------------------------
Status: Open (was: Patch Available)
* Rather than setting environment variables, the driver script should probably
accept command-line params:
{noformat}
+export INDIR=/user/aloks/bigrams/input/
+export TMPDIR=/user/aloks/bigrams/tmpdir
+export OUTDIR=/user/aloks/bigrams/outdir
+export QUEUENAME=grideng
{noformat}
* The driver should probably not include validation.
In general, this seems like it would make a better blog post or addition to the
wiki/documentation than an example in the repository. Streaming examples are
certainly helpful for users exploring the framework, but the Java/pipes
examples are included to show new users how to use APIs. In contrast, the API
for streaming is comparably universal. Do you agree?
> Need streaming examples in mapred/src/examples/streaming
> --------------------------------------------------------
>
> Key: MAPREDUCE-1589
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1589
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: examples
> Reporter: Alok Singh
> Assignee: Alok Singh
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: streaming_example_bigrams.patch,
> streaming_example_bigrams.patch
>
>
> The examples directory contains the examples for pipes, java mapred but not
> for the streaming.
> We are planning to add the test cases for the streaming in the examples
> respository
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.