Skip to content

Commit cc3db88

Browse files
committed
Update program to binary directive
1 parent f70dd00 commit cc3db88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/faq.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ To promote data locality,
2222
system or one per shard for sharded systems.
2323

2424
- Use a :readmode:`nearest` read preference to read from the local
25-
:program:`mongod`.
25+
:binary:`~bin.mongod`.
2626

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
2828
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`.
3030
To partition the data by shard use the
3131
:ref:`conf-mongoshardedpartitioner`.
3232

@@ -43,7 +43,7 @@ For an example, see :mongo-spark:`SparkStreams.scala
4343
How do I resolve ``Unrecognized pipeline stage name`` Error?
4444
------------------------------------------------------------
4545

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
4747
possible to get an ``Unrecognized pipeline stage name: '$sample'``
4848
error. To mitigate this situation, explicitly configure the partitioner
4949
to use and define the Schema when using DataFrames.

0 commit comments

Comments
 (0)