-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled #1891
Conversation
… before shutdown hook of o.a.h.f.FileSystem
QA tests have started for PR 1891. This patch merges cleanly. |
QA results for PR 1891: |
QA tests have started for PR 1891. This patch merges cleanly. |
QA results for PR 1891: |
LGTM, thanks! |
@@ -116,13 +118,17 @@ private[hive] object SparkSQLCLIDriver { | |||
SessionState.start(sessionState) | |||
|
|||
// Clean up after we exit | |||
Runtime.getRuntime.addShutdownHook( | |||
/** | |||
This should be executed before shutdown hook of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit: this line is missing a *
before "This"
QA tests have started for PR 1891. This patch merges cleanly. |
QA results for PR 1891: |
Jenkins, retest this please. |
Embarrassing... I don't know why Jenkins doesn't respond me, he used to :( |
test this please, let's see if he likes me :) |
QA tests have started for PR 1891. This patch merges cleanly. |
QA results for PR 1891: |
The build failure was caused by PySpark. (Let me try again...) |
test this please |
QA tests have started for PR 1891. This patch merges cleanly. |
Thanks a lot for triggering test... |
QA results for PR 1891: |
Ah... It's strange. I think there are no test using SparkSQLCLIDriver right? |
Build failure was caused by PySpark again :( |
retest this please |
QA tests have started for PR 1891. This patch merges cleanly. |
Oh, actually the build failure was caused by a Spark SQL Python API test case. It seems that we are comparing floating point numbers directly:
This should be fixed... Sorry @sarutak, we'll come back to this PR later, thanks for the patience. |
QA results for PR 1891: |
Jenkins, test this please. |
QA tests have started for PR 1891. This patch merges cleanly. |
QA results for PR 1891: |
Thanks! I've merged this to master and 1.1 |
…ogging is enabled Author: Kousuke Saruta <[email protected]> Closes #1891 from sarutak/SPARK-2970 and squashes the following commits: 4a2d2fe [Kousuke Saruta] Modified comment style 8bd833c [Kousuke Saruta] Modified style 6c0997c [Kousuke Saruta] Modified the timing of shutdown hook execution. It should be executed before shutdown hook of o.a.h.f.FileSystem (cherry picked from commit 905dc4b) Signed-off-by: Michael Armbrust <[email protected]>
Sorry, didn't realize that @marmbrus Maybe we should revert this PR first for safe. |
@liancheng @marmbrus So sorry for my fault. |
…n EventLogging is enabled" Revert #1891 due to issues with hadoop 1 compatibility. Author: Michael Armbrust <[email protected]> Closes #2007 from marmbrus/revert1891 and squashes the following commits: 68706c0 [Michael Armbrust] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled" (cherry picked from commit 5ecb08e) Signed-off-by: Michael Armbrust <[email protected]>
…n EventLogging is enabled" Revert #1891 due to issues with hadoop 1 compatibility. Author: Michael Armbrust <[email protected]> Closes #2007 from marmbrus/revert1891 and squashes the following commits: 68706c0 [Michael Armbrust] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled"
…n when EventLogging is enabled #1891 was to avoid IOException when EventLogging is enabled. The solution used ShutdownHookManager but it was defined only Hadoop 2.x. Hadoop 1.x don't have ShutdownHookManager so #1891 doesn't compile on Hadoop 1.x Now, I had a compromised solution for both Hadoop 1.x and 2.x. Only for FileLogger, an unique FileSystem object is created. Author: Kousuke Saruta <[email protected]> Closes #1970 from sarutak/SPARK-2970 and squashes the following commits: 240c91e [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-2970 0e7b45d [Kousuke Saruta] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled" e1262ec [Kousuke Saruta] Modified Filelogger to use unique FileSystem instance
…n when EventLogging is enabled #1891 was to avoid IOException when EventLogging is enabled. The solution used ShutdownHookManager but it was defined only Hadoop 2.x. Hadoop 1.x don't have ShutdownHookManager so #1891 doesn't compile on Hadoop 1.x Now, I had a compromised solution for both Hadoop 1.x and 2.x. Only for FileLogger, an unique FileSystem object is created. Author: Kousuke Saruta <[email protected]> Closes #1970 from sarutak/SPARK-2970 and squashes the following commits: 240c91e [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-2970 0e7b45d [Kousuke Saruta] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled" e1262ec [Kousuke Saruta] Modified Filelogger to use unique FileSystem instance
…ogging is enabled Author: Kousuke Saruta <[email protected]> Closes apache#1891 from sarutak/SPARK-2970 and squashes the following commits: 4a2d2fe [Kousuke Saruta] Modified comment style 8bd833c [Kousuke Saruta] Modified style 6c0997c [Kousuke Saruta] Modified the timing of shutdown hook execution. It should be executed before shutdown hook of o.a.h.f.FileSystem
…n EventLogging is enabled" Revert apache#1891 due to issues with hadoop 1 compatibility. Author: Michael Armbrust <[email protected]> Closes apache#2007 from marmbrus/revert1891 and squashes the following commits: 68706c0 [Michael Armbrust] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled"
…n when EventLogging is enabled apache#1891 was to avoid IOException when EventLogging is enabled. The solution used ShutdownHookManager but it was defined only Hadoop 2.x. Hadoop 1.x don't have ShutdownHookManager so apache#1891 doesn't compile on Hadoop 1.x Now, I had a compromised solution for both Hadoop 1.x and 2.x. Only for FileLogger, an unique FileSystem object is created. Author: Kousuke Saruta <[email protected]> Closes apache#1970 from sarutak/SPARK-2970 and squashes the following commits: 240c91e [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-2970 0e7b45d [Kousuke Saruta] Revert "[SPARK-2970] [SQL] spark-sql script ends with IOException when EventLogging is enabled" e1262ec [Kousuke Saruta] Modified Filelogger to use unique FileSystem instance
https://github.pie.apple.com/IPR/apache-incubator-iceberg/compare/IPR:9a2d360...IPR:48834b0 Internal: Change Default Optimize Threshold Internal (Boson): Bump Boson version to 0.3.23 and remove the fallbac… Internal(Boson): Populate spark.boson.exceptionOnDatetimeRebase to Bo… Releases Apple Iceberg 1.3.0.5 (apache#1152)
No description provided.