Okay this is a nightmare, after exiting hail I went back in and after trying
1 from hail import *
----> 2 hc = HailContext()
got this error:
OSError Traceback (most recent call last)
in ()
1 from hail import *
----> 2 hc = HailContext()
in init(self, sc, app_name, master, local, log, quiet, append, parquet_compression, min_block_size, branching_factor, tmp_dir)
/Users/AleRodriguez/hail/python/hail/typecheck/check.pyc in _typecheck(f, *args, **kwargs)
243 def _typecheck(f, *args, **kwargs):
244 check_all(f, args, kwargs, checkers, is_method=True)
–> 245 return f(*args, **kwargs)
246
247 return decorator(_typecheck)
/Users/AleRodriguez/hail/python/hail/context.pyc in init(self, sc, app_name, master, local, log, quiet, append, parquet_compression, min_block_size, branching_factor, tmp_dir)
69 ‘or stop Hail context to change configuration.’)
70
—> 71 SparkContext._ensure_initialized()
72
73 self._gateway = SparkContext._gateway
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyspark/context.pyc in _ensure_initialized(cls, instance, gateway, conf)
281 with SparkContext._lock:
282 if not SparkContext._gateway:
–> 283 SparkContext._gateway = gateway or launch_gateway(conf)
284 SparkContext._jvm = SparkContext._gateway.jvm
285
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyspark/java_gateway.pyc in launch_gateway(conf)
75 def preexec_func():
76 signal.signal(signal.SIGINT, signal.SIG_IGN)
—> 77 proc = Popen(command, stdin=PIPE, preexec_fn=preexec_func, env=env)
78 else:
79 # preexec_fn not supported on Windows
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.pyc in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags)
388 p2cread, p2cwrite,
389 c2pread, c2pwrite,
–> 390 errread, errwrite)
391 except Exception:
392 # Preserve original exception in case os.close raises.
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.pyc in _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, to_close, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite)
1023 raise
1024 child_exception = pickle.loads(data)
-> 1025 raise child_exception
1026
1027
OSError: [Errno 2] No such file or directory