Skip to content
This repository has been archived by the owner on Aug 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #114 from martindurant/file_fix
Browse files Browse the repository at this point in the history
Fix for -1000 case
  • Loading branch information
martindurant committed Nov 16, 2017
2 parents 3fa8fd3 + 4c08878 commit c3bb3bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/quickstart.rst
Expand Up @@ -137,7 +137,7 @@ To start a dask cluster on YARN
import dask_yarn
# Specify conda packages and channels for execution environment
cluster = dask_yarn.DaskYARNCluster(packages=['python=3.6', 'scikit-learn', 'pandas', 'dask']
cluster = dask_yarn.DaskYARNCluster(packages=['python=3.6', 'scikit-learn', 'pandas', 'dask'],
channels=['conda-forge'])
# each worker gets 4GB and two cores
Expand Down
3 changes: 2 additions & 1 deletion knit/core.py
Expand Up @@ -350,7 +350,8 @@ def preexec_func():
address=master_rpchost, port=master_rpcport), auto_convert=True)
self.master = gateway.entry_point
rfiles = [triple_slash(f) if f.startswith('hdfs://') else
'/'.join([self.hdfs_home, '.knitDeps', os.path.basename(f)])
'/'.join(['hdfs://', self.hdfs_home, '.knitDeps',
os.path.basename(f)])
for f in files]
logger.debug("Resource files: %s" % rfiles)
jfiles = ListConverter().convert(rfiles, gateway._gateway_client)
Expand Down

0 comments on commit c3bb3bf

Please sign in to comment.