Re: New Distributed Cache

2014-01-09 Thread Bill Q
] *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

RE: New Distributed Cache

2013-07-11 Thread Botelho, Andrew
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

Re: New Distributed Cache

2013-07-11 Thread Omkar Joshi
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

Re: New Distributed Cache

2013-07-10 Thread Omkar Joshi
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

Re: New Distributed Cache

2013-07-10 Thread Shahab Yunus
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