0

I use libhdfs in my c++ program, when I use hdfsRename to mv a file from old path to new path. the new path is not exist, and the old path is exist.
But when I run the program, I get an error, the function hdfsRename just return -1 without any tips or exception.
I use gdb to debug the program, but I can't step into the jvm thread to know what happened.
So anyone can tell me, When the hdfsRename will return -1, and is there a way to debug into jvm?

zawdd
  • 311
  • 1
  • 3
  • 12

0 Answers0