Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/158#discussion_r11225067
--- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala
---
@@ -59,6 +57,17 @@ private[spark] class BlockManager(
private[storage] val memoryStore: BlockStore = new MemoryStore(this,
maxMemory)
private[storage] val diskStore = new DiskStore(this, diskBlockManager)
+ var tachyonInitialized = false
+ private[storage] lazy val tachyonStore: TachyonStore = {
+ val storeDir = conf.get("spark.tachyonStore.baseDir",
System.getProperty("java.io.tmpdir"))
--- End diff --
This is indeed kind of weird, but I think the problem is that Tachyon
itself doesn't provide a notion of a temp directory. However maybe we should
set the default to just "/tmp" instead of System.getProperty(java.io.tmpdir).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---