13fd272cd3
### What changes were proposed in this pull request?
This PR intends to fix typos in the sub-modules:
* `R`
* `common`
* `dev`
* `mlib`
* `external`
* `project`
* `streaming`
* `resource-managers`
* `python`
Split per srowen https://github.com/apache/spark/pull/30323#issuecomment-728981618
NOTE: The misspellings have been reported at 706a726f87 (commitcomment-44064356)
### Why are the changes needed?
Misspelled words make it harder to read / understand content.
### Does this PR introduce _any_ user-facing change?
There are various fixes to documentation, etc...
### How was this patch tested?
No testing was performed
Closes #30402 from jsoref/spelling-R_common_dev_mlib_external_project_streaming_resource-managers_python.
Authored-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
40 lines
1.4 KiB
Batchfile
40 lines
1.4 KiB
Batchfile
@echo off
|
|
|
|
rem
|
|
rem Licensed to the Apache Software Foundation (ASF) under one or more
|
|
rem contributor license agreements. See the NOTICE file distributed with
|
|
rem this work for additional information regarding copyright ownership.
|
|
rem The ASF licenses this file to You under the Apache License, Version 2.0
|
|
rem (the "License"); you may not use this file except in compliance with
|
|
rem the License. You may obtain a copy of the License at
|
|
rem
|
|
rem http://www.apache.org/licenses/LICENSE-2.0
|
|
rem
|
|
rem Unless required by applicable law or agreed to in writing, software
|
|
rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
rem See the License for the specific language governing permissions and
|
|
rem limitations under the License.
|
|
rem
|
|
|
|
rem Install development version of SparkR
|
|
rem
|
|
|
|
set SPARK_HOME=%~dp0..
|
|
|
|
MKDIR %SPARK_HOME%\R\lib
|
|
|
|
rem When you pass the package path directly as an argument to R CMD INSTALL,
|
|
rem it takes the path as 'C:\projects\spark\R\..\R\pkg"' as an example at
|
|
rem R 4.0. To work around this, directly go to the directory and install it.
|
|
rem See also SPARK-32074
|
|
pushd %SPARK_HOME%\R\pkg\
|
|
R.exe CMD INSTALL --library="%SPARK_HOME%\R\lib" .
|
|
popd
|
|
|
|
rem Zip the SparkR package so that it can be distributed to worker nodes on YARN
|
|
pushd %SPARK_HOME%\R\lib
|
|
%JAVA_HOME%\bin\jar.exe cfM "%SPARK_HOME%\R\lib\sparkr.zip" SparkR
|
|
popd
|
|
|