mapreduce - hadoop compression program got stuck while executing -
i facing problem in execution of compression program in hadoop. code trying following:
public class streamcompressor { public static void main(string[] args) throws exception { string codecclassname = args[0]; class<?> codecclass = class.forname(codecclassname); configuration conf = new configuration(); compressioncodec codec = (compressioncodec); reflectionutils.newinstance(codecclass, conf); compressionoutputstream out = codec.createoutputstream(system.out); ioutils.copybytes(system.in, out, 4096, false); out.finish(); } }
while executing code, not run; showing blinking cursor. here screen shot.
it got stuck after giving running command.
Comments
Post a Comment