{"push_id":1991493927,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"894a7561de2c2ff01fe7fcc5268378161e9e5643","before":"6308c65f08b507408033da1f1658144ea8c1491f","commits":[{"sha":"7c7266208a3be984ac1ce53747dc0c3640f4ecac","author":{"name":"hyukjinkwon","email":"4c114bf3676ebcdb1616a11ca478d9181f4025da@gmail.com"},"message":"[SPARK-22043][PYTHON] Improves error message for show_profiles and dump_profiles\n\n## What changes were proposed in this pull request?\n\nThis PR proposes to improve error message from:\n\n```\n>>> sc.show_profiles()\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \".../spark/python/pyspark/context.py\", line 1000, in show_profiles\n    self.profiler_collector.show_profiles()\nAttributeError: 'NoneType' object has no attribute 'show_profiles'\n>>> sc.dump_profiles(\"/tmp/abc\")\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \".../spark/python/pyspark/context.py\", line 1005, in dump_profiles\n    self.profiler_collector.dump_profiles(path)\nAttributeError: 'NoneType' object has no attribute 'dump_profiles'\n```\n\nto\n\n```\n>>> sc.show_profiles()\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \".../spark/python/pyspark/context.py\", line 1003, in show_profiles\n    raise RuntimeError(\"'spark.python.profile' configuration must be set \"\nRuntimeError: 'spark.python.profile' configuration must be set to 'true' to enable Python profile.\n>>> sc.dump_profiles(\"/tmp/abc\")\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \".../spark/python/pyspark/context.py\", line 1012, in dump_profiles\n    raise RuntimeError(\"'spark.python.profile' configuration must be set \"\nRuntimeError: 'spark.python.profile' configuration must be set to 'true' to enable Python profile.\n```\n\n## How was this patch tested?\n\nUnit tests added in `python/pyspark/tests.py` and manual tests.\n\nAuthor: hyukjinkwon <gurwls223@gmail.com>\n\nCloses #19260 from HyukjinKwon/profile-errors.","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/7c7266208a3be984ac1ce53747dc0c3640f4ecac"},{"sha":"1e978b17d63d7ba20368057aa4e65f5ef6e87369","author":{"name":"Sital Kedia","email":"e4343f82e25883a7c046475fe9553138fac5aa32@fb.com"},"message":"[SPARK-21113][CORE] Read ahead input stream to amortize disk IO cost …\n\nProfiling some of our big jobs, we see that around 30% of the time is being spent in reading the spill files from disk. In order to amortize the disk IO cost, the idea is to implement a read ahead input stream which asynchronously reads ahead from the underlying input stream when specified amount of data has been read from the current buffer. It does it by maintaining two buffer - active buffer and read ahead buffer. The active buffer contains data which should be returned when a read() call is issued. The read-ahead buffer is used to asynchronously read from the underlying input stream and once the active buffer is exhausted, we flip the two buffers so that we can start reading from the read ahead buffer without being blocked in disk I/O.\n\n## How was this patch tested?\n\nTested by running a job on the cluster and could see up to 8% CPU improvement.\n\nAuthor: Sital Kedia <skedia@fb.com>\nAuthor: Shixiong Zhu <zsxwing@gmail.com>\nAuthor: Sital Kedia <sitalkedia@users.noreply.github.com>\n\nCloses #18317 from sitalkedia/read_ahead_buffer.","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/1e978b17d63d7ba20368057aa4e65f5ef6e87369"},{"sha":"894a7561de2c2ff01fe7fcc5268378161e9e5643","author":{"name":"Wenchen Fan","email":"51df79715bab6f96b68cf2b8813ef1aaa5547bdb@databricks.com"},"message":"[SPARK-22047][TEST] ignore HiveExternalCatalogVersionsSuite\n\n## What changes were proposed in this pull request?\n\nAs reported in https://issues.apache.org/jira/browse/SPARK-22047 , HiveExternalCatalogVersionsSuite is failing frequently, let's disable this test suite to unblock other PRs, I'm looking into the root cause.\n\n## How was this patch tested?\nN/A\n\nAuthor: Wenchen Fan <wenchen@databricks.com>\n\nCloses #19264 from cloud-fan/test.","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/894a7561de2c2ff01fe7fcc5268378161e9e5643"}]}
{"actor":{"display_login":"ueshin"}}