GitHub user sarutak opened a pull request:
https://github.com/apache/spark/pull/1970
[SPARK-3062] [SPARK-2970] [SQL] spark-sql script ends with IOException 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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarutak/spark SPARK-2970
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1970.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1970
----
commit e1262ecd4d1a21df1e881ed3881f1cee4128dfb4
Author: Kousuke Saruta <[email protected]>
Date: 2014-08-15T17:14:01Z
Modified Filelogger to use unique FileSystem instance
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]