From 52b85b88d0ca86db9f26dfc6753a093768d6d5d1 Mon Sep 17 00:00:00 2001 From: Ndamulelo Nemakhavhani Date: Mon, 8 Nov 2021 13:22:10 +0200 Subject: [PATCH] Update quickstart.rst Fix docs to prevent user getting: "OSError: Input path hdfs://my_home/input.txtdoes not exist!" --- docs/guides/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/quickstart.rst b/docs/guides/quickstart.rst index 427a43370..25dacf772 100644 --- a/docs/guides/quickstart.rst +++ b/docs/guides/quickstart.rst @@ -126,7 +126,7 @@ Your input files can come from HDFS if you're using Hadoop, or GCS if you're using Dataproc:: $ python my_job.py -r dataproc gcs://my-inputs/input.txt - $ python my_job.py -r hadoop hdfs://my_home/input.txt + $ python my_job.py -r hadoop hdfs:///my_home/input.txt # Assuming your input is located at /my_home/input.txt If you have Elastic MapReduce configured (see :doc:`emr-quickstart`), you can @@ -136,7 +136,7 @@ Your input files can come from HDFS if you're using Hadoop, or S3 if you're using EMR:: $ python my_job.py -r emr s3://my-inputs/input.txt - $ python my_job.py -r hadoop hdfs://my_home/input.txt + $ python my_job.py -r hadoop hdfs:///my_home/input.txt # If the input file is located /my_home/input.txt in hdfs If your code spans multiple files, see :ref:`cookbook-src-tree-pythonpath`.