[ https://issues.apache.org/jira/browse/HIVE-8844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213516#comment-14213516 ]
Xuefu Zhang commented on HIVE-8844: ----------------------------------- [~jxiang], Sorry for chiming in late. I don't think we need to make this configurable. I think choosing memory + disk is good enough for now. We can make it configurable in the future if need arises. For now, I think the simpler the better. Hive has too many configurations already. > Choose a persisent policy for RDD caching [Spark Branch] > -------------------------------------------------------- > > Key: HIVE-8844 > URL: https://issues.apache.org/jira/browse/HIVE-8844 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Jimmy Xiang > Fix For: spark-branch > > Attachments: HIVE-8844.1-spark.patch, HIVE-8844.2-spark.patch > > > RDD caching is used for performance reasons in some multi-insert queries. > Currently, we call RDD.cache(), which indicates a persistency policy of using > memory only. We should choose a better policy. I think memory+disk will be > good enough. Refer to RDD.persist() for more information. -- This message was sent by Atlassian JIRA (v6.3.4#6332)