You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dibyendu Bhattacharya (JIRA)" <ji...@apache.org> on 2015/05/08 09:30:59 UTC

[jira] [Created] (SPARK-7477) TachyonBlockManager Store Block in TRY_CACHE mode which gives BlockNotFoundException when blocks are evicted from cache

Dibyendu Bhattacharya created SPARK-7477:
--------------------------------------------

             Summary: TachyonBlockManager Store Block in TRY_CACHE mode which gives BlockNotFoundException when blocks are evicted from cache
                 Key: SPARK-7477
                 URL: https://issues.apache.org/jira/browse/SPARK-7477
             Project: Spark
          Issue Type: Bug
          Components: Block Manager
    Affects Versions: 1.4.0
            Reporter: Dibyendu Bhattacharya


With Spark Streaming on Tachyon as the OFF_HEAP block store 
I have used the low level Receiver based Kafka consumer (http://spark-packages.org/package/dibbhatt/kafka-spark-consumer) to pull from Kafka and write Blocks to Tachyon 

What I see TachyonBlockManager.scala put the blocks in WriteType.TRY_CACHE configuration . And because of this Blocks ate evicted from Tachyon Cache and when Spark try to find the block it throws  BlockNotFoundException . 

When I modified the WriteType to CACHE_THROUGH , BlockDropException is gone , but it impact the throughput ..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org