----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28064/#review61616 -----------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/spark/ShuffleTran.java <https://reviews.apache.org/r/28064/#comment103348> OK, does spark handle that if we pass NONE in by doing no-op? If that's the case, then maybe cleaner for our code in that case. I'm a bit confused what NONE means. If we dont want to call NONE due to side-effects, can we just change the HadoopRDD call to: storageHandler.equals(StorageHandler.NONE) ? hadoopRdd : ... Then the logic is centralized to there. ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkPlanGenerator.java <https://reviews.apache.org/r/28064/#comment103349> OK ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkPlanGenerator.java <https://reviews.apache.org/r/28064/#comment103350> Sounds good, but I think we can log it. - Szehon Ho On Nov. 15, 2014, 12:32 a.m., Jimmy Xiang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28064/ > ----------------------------------------------------------- > > (Updated Nov. 15, 2014, 12:32 a.m.) > > > Review request for hive and Xuefu Zhang. > > > Bugs: HIVE-8844 > https://issues.apache.org/jira/browse/HIVE-8844 > > > Repository: hive-git > > > Description > ------- > > Changed spark cache policy to be configurable with default memory+disk. > > > Diffs > ----- > > ql/src/java/org/apache/hadoop/hive/ql/exec/spark/MapInput.java 79baea7 > ql/src/java/org/apache/hadoop/hive/ql/exec/spark/ShuffleTran.java 8565ba0 > ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkPlanGenerator.java > 11f4236 > > Diff: https://reviews.apache.org/r/28064/diff/ > > > Testing > ------- > > > Thanks, > > Jimmy Xiang > >