wangjiaochun created SPARK-21234: ------------------------------------ Summary: When the function returns Option[Iterator[_]] is None,then get on None will cause java.util.NoSuchElementException: None.get Key: SPARK-21234 URL: https://issues.apache.org/jira/browse/SPARK-21234 Project: Spark Issue Type: Bug Components: Block Manager Affects Versions: 2.1.1 Reporter: wangjiaochun
Class BlockManager { ........................................... def getLocalValues(blockId: BlockId): Option[BlockResult] ={ ............................................... memoryStore.getValues(blockId).get ............................................... } .............................................. } The above code getValues return three type values: None,IllegalArgumentException and normal ,if return None,Cause java.util.NoSuchElementException: None.get。so I think this is potential Bug; -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org