Databricks Community Edition Installation of Hail
I enter ‘import hail as hl’ and it takes the command.
I then enter ‘hl.init(sc, idempotent=True)’ and it errors out with this, any ideas ?
TypeError Traceback (most recent call last)
in
----> 1 hl.init(sc, idempotent=True)
</local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/decorator.py:decorator-gen-1182> in init(sc, app_name, master, local, log, quiet, append, min_block_size, branching_factor, tmp_dir, default_reference, idempotent, global_seed, _optimizer_iterations, _backend)
/local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/hail/typecheck/check.py in wrapper(__original_func, *args, **kwargs)
583 def wrapper(original_func, *args, **kwargs):
584 args, kwargs = check_all(__original_func, args, kwargs, checkers, is_method=is_method)
–> 585 return original_func(*args, **kwargs)
586
587 return wrapper
/local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/hail/context.py in init(sc, app_name, master, local, log, quiet, append, min_block_size, branching_factor, tmp_dir, default_reference, idempotent, global_seed, _optimizer_iterations, _backend)
262 min_block_size, branching_factor, tmp_dir,
263 default_reference, idempotent, global_seed,
–> 264 _optimizer_iterations,_backend)
265
266
</local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/decorator.py:decorator-gen-1180> in init(self, sc, app_name, master, local, log, quiet, append, min_block_size, branching_factor, tmp_dir, default_reference, idempotent, global_seed, optimizer_iterations, _backend)
/local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/hail/typecheck/check.py in wrapper(__original_func, *args, **kwargs)
583 def wrapper(original_func, *args, **kwargs):
584 args, kwargs = check_all(__original_func, args, kwargs, checkers, is_method=is_method)
–> 585 return original_func(*args, **kwargs)
586
587 return wrapper
/local_disk0/pythonVirtualEnvDirs/virtualEnv-c96dc80c-4c17-49ef-a02f-e0bb5ce148d7/lib/python3.7/site-packages/hail/context.py in init(self, sc, app_name, master, local, log, quiet, append, min_block_size, branching_factor, tmp_dir, default_reference, idempotent, global_seed, optimizer_iterations, _backend)
93 self._jhc = self._hail.HailContext.getOrCreate(
94 jsc, app_name, joption(master), local, log, True, append,
—> 95 min_block_size, branching_factor, tmp_dir, optimizer_iterations)
96 else:
97 self._jhc = self._hail.HailContext.apply(
TypeError: ‘JavaPackage’ object is not callable