aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-shell.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/spark-shell.cmd')
-rw-r--r--bin/spark-shell.cmd5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/spark-shell.cmd b/bin/spark-shell.cmd
index 3e52bf835e..23973e3e3d 100644
--- a/bin/spark-shell.cmd
+++ b/bin/spark-shell.cmd
@@ -17,6 +17,7 @@ rem See the License for the specific language governing permissions and
rem limitations under the License.
rem
-set FWDIR=%~dp0
+rem Find the path of sbin
+set SBIN=%~dp0..\sbin\
-cmd /V /E /C %FWDIR%spark-class2.cmd org.apache.spark.repl.Main %*
+cmd /V /E /C %SBIN%spark-class2.cmd org.apache.spark.repl.Main %*