We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f979c commit 78460eeCopy full SHA for 78460ee
README_Hadoop_Streaming.md
@@ -289,6 +289,13 @@ if __name__ == "__main__":
289
## Tips and tricks
290
These are some pro-tips for working with MapReduce programs written in Python for the Hadoop Streaming interface.
291
292
+### Printing to `stderr`
293
+To avoid interfering with pipeline output in `stdout`, direct debugging print messages to `stderr`:
294
+
295
+```python
296
+print("finding bugs... ~(^._.)", file=sys.stderr)
297
+```
298
299
### Debugging
300
We encounter a problem if we add a `breakpoint()` in `map.py`.
301
```python
0 commit comments