Re: Distributed Cache file issue

2010-07-08 Thread Raja Thiruvathuru
Hi, Create the "Job" after you create the configuration. Like., Path p=new Path("hdfs://localhost:9100/user/denimLive/denim/DCache/Orders.txt"); DistributedCache.addCacheFile(p.toUri(), conf); Job job = new Job(conf, "Driver"); If you create the "Job" before creating configuration, for some re

Distributed Cache file issue

2010-07-08 Thread Denim Live
Hello all, As a new user of hadoop, I am having some problems with understanding some things. I am writing a program to load a file to the distributed cache and read this file in each mapper. In my driver program, I have added the file to my distributed cache using: Path p=new