You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/amazon_sagemaker_processing.rst
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ First you need to create a :class:`PySparkProcessor` object
83
83
84
84
.. code:: python
85
85
86
-
from sagemaker.processing import PySparkProcessor, ProcessingInput
86
+
from sagemaker.spark.processing import PySparkProcessor
87
87
88
88
spark_processor = PySparkProcessor(
89
89
base_job_name="sm-spark",
@@ -158,10 +158,12 @@ SparkJarProcessor
158
158
---------------------
159
159
160
160
Supposed that you have the jar file "preprocessing.jar" stored in the same directory as you are now, and the java package is ``com.path.to.your.class.PreProcessing.java``
161
-
Here's an example of using PySparkProcessor.
161
+
Here's an example of using SparkJarProcessor.
162
162
163
163
.. code:: python
164
164
165
+
from sagemaker.spark.processing import SparkJarProcessor
0 commit comments