use reflection to call hadoop fs.rename to workaround different hadoop jar version in main and hdfs-storage extension class loader#5296
Conversation
…p jar version in main and hdfs-storage extension class loader
|
👍 after tests. |
|
marking it WIP as it needs more testing and looks very hacky. |
|
@hamlet-lee in my testing, straight forward I wonder how it is working for you without this recursive search. Have you done anything else special in your setup? |
|
I tested current patch with our hadoop cluster, seems to be working fine. |
|
@himanshug rename is PUBLIC in DistributedFileSystem. |
|
@hamlet-lee i see, it is increasing visibility in the override .. however, one of of my tests tested it for thanks for pointing that out, now I understand why it worked for you without recursion. |
gianm
left a comment
There was a problem hiding this comment.
@himanshug - I'm sad it's needed but thanks for writing it.
…p jar version in main and hdfs-storage extension class loader (apache#5296) * use reflection to call hadoop fs.rename to workaround different hadoop jar version in main and hdfs-storage extension class loader * find rename method recursively
Fixes #3786 with updated version of #3787
Verified with hadoop-2.7.1 on a dev environment.