AnsweredAssumed Answered

Error when rename a file with Java

Question asked by oliver on Jul 30, 2014
Latest reply on Sep 23, 2014 by raghunadha
I'm trying to rename a file with library "hadoop-core-1.0.3-mapr-3.1.1.jar".

<code>
 if (!hdfs.exists(pDst.getParent())) {
    createDirectory(pDst.getParent());
 }
 hdfs.rename(pSrc, pDst);
</code>
where hdfs exists and its path exists, pSrc exists and it's not null and it is happening this:

<pre>
 # A fatal error has been detected by the Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x00007f85cdd311b0, pid=10016, tid=140212652173056
 #
 # JRE version: 6.0_34-b04
 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.9-b04 mixed mode linux-amd64 compressed oops)
 # Problematic frame:
 # V  [libjvm.so+0x4f41b0]  unsigned+0xd0
 #
 #
 # If you would like to submit a bug report, please visit:
 #   http://java.sun.com/webapps/bugreport/crash.jsp
 #
</pre>
 
some idea?

Thanks!


Outcomes