Commit Graph

3 Commits

Author SHA1 Message Date
Mark Vieira c0ba2ec875
Remove shutdown hook permission from hdfs plugin (#65016) 2020-11-12 13:13:12 -08:00
Mark Vieira fef57fb367 Revert "Remove shutdown hook permission from hdfs plugin (#64899)"
This reverts commit 974766d7
2020-11-12 08:24:34 -08:00
Ryan Ernst 974766d7db
Remove shutdown hook permission from hdfs plugin (#64899)
The hadoop library we use to connect with hdfs expects is is running in
a jvm dedicated to hadoop, as if it was an hdfs node. This means the
shutdown hooks hadoop tries to register expect to work; there is no
handling of a lack of permissions to add shutdown hooks. This commit
removes the shutdown hook permission currently granted to
repository-hdfs by replacing the ShutdownHookManager class with one of
the same api, but having no-ops for the public methods.
2020-11-11 09:56:28 -08:00