Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/455#discussion_r13414789
--- Diff: docs/programming-guide.md ---
@@ -378,9 +378,82 @@ Some notes on reading files with Spark:
* The `textFile` method also takes an optional second argument for
controlling the number of slices of the file. By default, Spark creates one
slice for each block of the file (blocks being 64MB by default in HDFS), but
you can also ask for a higher number of slices by passing a larger value. Note
that you cannot have fewer slices than blocks.
-Apart reading files as a collection of lines,
+Apart from reading files as a collection of lines,
`SparkContext.wholeTextFiles` lets you read a directory containing
multiple small text files, and returns each of them as (filename, content)
pairs. This is in contrast with `textFile`, which would return one record per
line in each file.
+## SequenceFile and Hadoop InputFormats
--- End diff --
You probably need to use `###` for subheadings since the one above was
already `##`; see how it looks in the doc once built (you can do `SKIP_API=1
jekyll serve --watch` in `docs/` and then go to http://localhost:4000).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---