File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ To promote data locality,
22
22
system or one per shard for sharded systems.
23
23
24
24
- Use a :readmode:`nearest` read preference to read from the local
25
- :program:` mongod`.
25
+ :binary:`~bin. mongod`.
26
26
27
- - For a sharded cluster, you should have a :program:` mongos` on the
27
+ - For a sharded cluster, you should have a :binary:`~bin. mongos` on the
28
28
same nodes and use :ref:`localThreshold <spark-input-conf>`
29
- configuration to connect to the nearest :program:` mongos`.
29
+ configuration to connect to the nearest :binary:`~bin. mongos`.
30
30
To partition the data by shard use the
31
31
:ref:`conf-mongoshardedpartitioner`.
32
32
@@ -43,7 +43,7 @@ For an example, see :mongo-spark:`SparkStreams.scala
43
43
How do I resolve ``Unrecognized pipeline stage name`` Error?
44
44
------------------------------------------------------------
45
45
46
- In MongoDB deployments with mixed versions of :program:` mongod`, it is
46
+ In MongoDB deployments with mixed versions of :binary:`~bin. mongod`, it is
47
47
possible to get an ``Unrecognized pipeline stage name: '$sample'``
48
48
error. To mitigate this situation, explicitly configure the partitioner
49
49
to use and define the Schema when using DataFrames.
You can’t perform that action at this time.
0 commit comments