]
*Sent:* Wednesday, July 10, 2013 9:43 PM
*To:* user@hadoop.apache.org
*Subject:* Re: New Distributed Cache
Also, once you have the array of URIs after calling getCacheFiles you
can iterate over them using File class or Path (
http://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs
a NullPointerException when I do that in the Mapper code.
Any suggesstions?
Andrew
From: Shahab Yunus [mailto:shahab.yu...@gmail.com]
Sent: Wednesday, July 10, 2013 9:43 PM
To: user@hadoop.apache.org
Subject: Re: New Distributed Cache
Also, once you have the array of URIs after calling getCacheFiles
a NullPointerException when I do that in the Mapper code.**
**
** **
Any suggesstions?
** **
Andrew
** **
*From:* Shahab Yunus [mailto:shahab.yu...@gmail.com]
*Sent:* Wednesday, July 10, 2013 9:43 PM
*To:* user@hadoop.apache.org
*Subject:* Re: New Distributed Cache
** **
Also
did you try JobContext.getCacheFiles() ?
Thanks,
Omkar Joshi
*Hortonworks Inc.* http://www.hortonworks.com
On Wed, Jul 10, 2013 at 10:15 AM, Botelho, Andrew andrew.bote...@emc.comwrote:
Hi,
** **
I am trying to store a file in the Distributed Cache during my Hadoop job.
In
Also, once you have the array of URIs after calling getCacheFiles you can
iterate over them using File class or Path (
http://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/Path.html#Path(java.net.URI)
)
Regards,
Shahab
On Wed, Jul 10, 2013 at 5:08 PM, Omkar Joshi