How to set system environment variable from Mapper Hadoop?
问题 The problem below the line is solved but I am facing another problem. I am doing this : DistributedCache.createSymlink(job.getConfiguration()); DistributedCache.addCacheFile(new URI ("hdfs:/user/hadoop/harsh/libnative1.so"),conf.getConfiguration()); and in the mapper : System.loadLibrary("libnative1.so"); (i also tried System.loadLibrary("libnative1"); System.loadLibrary("native1"); But I am getting this error: java.lang.UnsatisfiedLinkError: no libnative1.so in java.library.path I am totally