Skip to content

Commit

Permalink
feedback from @chrisvittal
Browse files Browse the repository at this point in the history
  • Loading branch information
ehigham committed Oct 29, 2024
1 parent 71b00f3 commit 32506d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion hail/python/hail/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ async def init_batch(

log = _get_log(log)
if tmpdir is None:
tmpdir = backend.remote_tmpdir + '/tmp/hail/' + secret_alnum_string()
tmpdir = os.path.join(backend.remote_tmpdir, 'tmp/hail', secret_alnum_string())
local_tmpdir = _get_local_tmpdir(local_tmpdir)

HailContext.create(log, quiet, append, tmpdir, local_tmpdir, default_reference, global_seed, backend)
Expand Down
2 changes: 0 additions & 2 deletions hail/src/main/scala/is/hail/backend/Backend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ abstract class Backend extends Closeable {
f: (Array[Byte], HailTaskContext, HailClassLoader, FS) => Array[Byte]
): (Option[Throwable], IndexedSeq[(Array[Byte], Int)])

def close(): Unit

def asSpark(op: String): SparkBackend =
fatal(s"${getClass.getSimpleName}: $op requires SparkBackend")

Expand Down

0 comments on commit 32506d5

Please sign in to comment.