Hi All, I would like to filter some elements in some given RDD, only the needed left, at the time the row number of the result RDD is smaller. Then I select filter function, however, by test, filter function would only accept Boolean type, that is to say, will only JavaRDD<Boolean>be returned for filter.For my test, the input RDD would also be JavaRDD<Boolean> , the version is 1.4.1 . Would you help comment some? Thanks in advance. Zhiliang