hadoop - Unable to write file on HDFS -
i have installed hadoop-2.6.0 , checked hadoop daemons running. able create or copy directory in hdfs not able copy file hdfs.
command:
bin/hadoop fs -copyfromlocal /home/130853/hadoop_data/abc /trial/abc
it's giving following exception:
exception in thread "main" java.lang.unsatisfiedlinkerror: org.apache.hadoop.util.nativecrc32.nativecomputechunkedsumsbytearray(ii[bi[biiljava/lang/string;jz)v @ org.apache.hadoop.util.nativecrc32.nativecomputechunkedsumsbytearray(native method) @ org.apache.hadoop.util.nativecrc32.calculatechunkedsumsbytearray(nativecrc32.java:86) @ org.apache.hadoop.util.datachecksum.calculatechunkedsums(datachecksum.java:430) @ org.apache.hadoop.fs.fsoutputsummer.writechecksumchunks(fsoutputsummer.java:202) @ org.apache.hadoop.fs.fsoutputsummer.flushbuffer(fsoutputsummer.java:163) @ org.apache.hadoop.fs.fsoutputsummer.flushbuffer(fsoutputsummer.java:144) @ org.apache.hadoop.hdfs.dfsoutputstream.close(dfsoutputstream.java:2217) @ org.apache.hadoop.fs.fsdataoutputstream$positioncache.close(fsdataoutputstream.java:72) @ org.apache.hadoop.fs.fsdataoutputstream.close(fsdataoutputstream.java:106) @ org.apache.hadoop.io.ioutils.copybytes(ioutils.java:54) @ org.apache.hadoop.io.ioutils.copybytes(ioutils.java:112) @ org.apache.hadoop.fs.shell.commandwithdestination$targetfilesystem.writestreamtofile(commandwithdestination.java:466) @ org.apache.hadoop.fs.shell.commandwithdestination.copystreamtotarget(commandwithdestination.java:391) @ org.apache.hadoop.fs.shell.commandwithdestination.copyfiletotarget(commandwithdestination.java:328) @ org.apache.hadoop.fs.shell.commandwithdestination.processpath(commandwithdestination.java:263) @ org.apache.hadoop.fs.shell.commandwithdestination.processpath(commandwithdestination.java:248) @ org.apache.hadoop.fs.shell.command.processpaths(command.java:306) @ org.apache.hadoop.fs.shell.command.processpathargument(command.java:278) @ org.apache.hadoop.fs.shell.commandwithdestination.processpathargument(commandwithdestination.java:243) @ org.apache.hadoop.fs.shell.command.processargument(command.java:260) @ org.apache.hadoop.fs.shell.command.processarguments(command.java:244) @ org.apache.hadoop.fs.shell.commandwithdestination.processarguments(commandwithdestination.java:220) @ org.apache.hadoop.fs.shell.copycommands$put.processarguments(copycommands.java:267) @ org.apache.hadoop.fs.shell.command.processrawarguments(command.java:190) @ org.apache.hadoop.fs.shell.command.run(command.java:154) @ org.apache.hadoop.fs.fsshell.run(fsshell.java:287) @ org.apache.hadoop.util.toolrunner.run(toolrunner.java:70) @ org.apache.hadoop.util.toolrunner.run(toolrunner.java:84) @ org.apache.hadoop.fs.fsshell.main(fsshell.java:340)
can please on this?
what linux system ? 64bit or 32 bit ?
if it's 64bit , suggest recomplie hadoop source code in order support native lib .
if it's 32bit ,suggest switch 64bit system.
try execute command , hadoop checknative -a
Comments
Post a Comment