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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -