Hi

I'm trying to access to my custom configuration file (myconfig.xml) from
MyMapper.

So I'm doing:

*File configurationFile = new File("./conf/", "myconfig.xml");*

But when I see the absolute path from configuration file I get:

*
/tmp/hadoop-user/mapred/local/taskTracker/user/jobcache/job_201101260830_0000/attempt_201101260830_0000_m_000000_0/work/./conf/myconfig.xml
*

So this produces a error because It tries to get myconfig.xml but It doesn't
find it.

*Initial cause was ./conf/myconfig.xml (No such file or directory)*

Someone can I help me?

Thanks

Joan

Reply via email to