Comments (3)
@jcrist Thanks for the quick reply! I was able to make it work. The trick was to include the tar ball in --archives and not in yarn.dist.archives
sparkR
--master yarn
--conf spark.r.command=./environment/bin/Rscript
--conf spark.yarn.appMasterEnv.R_HOME=./environment/lib/R
--conf spark.yarn.appMasterEnv.RHOME=./environment
--conf spark.yarn.appMasterEnv.R_SHARE_DIR=./environment/lib/R/share
--conf spark.yarn.appMasterEnv.R_INCLUDE_DIR=./environment/lib/R/include
--conf spark.executorEnv.R_HOME=./environment/lib/R
--conf spark.executorEnv.RHOME=./environment
--conf spark.executorEnv.R_SHARE_DIR=./environment/lib/R/share
--conf spark.executorEnv.R_INCLUDE_DIR=./environment/lib/R/include
--deploy-mode client
--num-executors 3
--executor-cores 3
--archives environment.tar.gz#environment
from conda-pack.
Glad the sparklyr example worked for you. I'm not familiar with SparkR
, so I'm not sure why the above wouldn't work (sorry). Nothing explicitly looks wrong.
cc @ericdill - I think I remember you used conda-pack with spark and R at some point? Any knowledge of SparkR?
from conda-pack.
Hi there, thank you for your contribution!
This issue has been automatically locked because it has not had recent activity after being closed.
Please open a new issue if needed.
Thanks!
from conda-pack.
Related Issues (20)
- Wrong libcurl CA info after packing/unpacking environment HOT 2
- Python crashes in unpacked environment on osx-arm64 HOT 4
- qt.conf keeps the absolute path HOT 1
- permission error in conda-unpack on windows 10 HOT 5
- CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages HOT 2
- Conda pack does not work with Python 3.10 or 3.11 HOT 13
- `conda-unpack` cleanup prefixes not working HOT 1
- R/etc/ldpaths: No such file or directory HOT 3
- Permission error when packing to squashfs file on Linux HOT 2
- Lost my maintainer rights HOT 6
- Is it needed to run `conda-unpack` with squashfs ? HOT 2
- Deactivate script is deprecated and not available on mamba environments HOT 1
- Fix environment clobbered by pip by repairing conda-meta
- Add support for alternative compressors for mksquashfs
- [Governance] Access to Settings in this repo HOT 2
- conda-pack documentation is outdated
- Support for incremental migration of conda environments
- Conda-Managed Files Deleted or Overwritten HOT 2
- Absorb in `constructor` HOT 8
- Unversioned python in conda-unpack script shebang
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-pack.