Re: Accessing files in Hadoop 2.7.2 Distributed Cache

2016-06-21 Thread Gabriel Balan
directly. Hope that helps. -Jeff *From:*Siddharth Dawar [mailto:siddharthdawa...@gmail.com <mailto:siddharthdawa...@gmail.com>] *Sent:* Tuesday, June 07, 2016 4:06 AM *To:* user@hadoop.apache.org <mailto:user@hadoop.apache.org> *Subject:* Accessing files in Hadoop

RE: Accessing files in Hadoop 2.7.2 Distributed Cache

2016-06-20 Thread Guttadauro, Jeff
che.org<mailto:user@hadoop.apache.org> Subject: Accessing files in Hadoop 2.7.2 Distributed Cache Hi, I want to use the distributed cache to allow my mappers to access data in Hadoop 2.7.2. In main, I'm using the command String hdfs_path="hdfs://localhost:9000/bloomfilter";

Re: Accessing files in Hadoop 2.7.2 Distributed Cache

2016-06-13 Thread Siddharth Dawar
tes the need to even work with the > DistributedCache class in your Mapper or Reducer, since you can just work > with the file (or path using nio) directly. > > > > Hope that helps. > > -Jeff > > *From:* Siddharth Dawar [mailto:siddharthdawa...@gmail.com] > *Sent:*

RE: Accessing files in Hadoop 2.7.2 Distributed Cache

2016-06-07 Thread Guttadauro, Jeff
DistributedCache class in your Mapper or Reducer, since you can just work with the file (or path using nio) directly. Hope that helps. -Jeff From: Siddharth Dawar [mailto:siddharthdawa...@gmail.com] Sent: Tuesday, June 07, 2016 4:06 AM To: user@hadoop.apache.org Subject: Accessing files in Hadoop 2.7.2

Accessing files in Hadoop 2.7.2 Distributed Cache

2016-06-07 Thread Siddharth Dawar
Hi, I want to use the distributed cache to allow my mappers to access data in Hadoop 2.7.2. In main, I'm using the command String hdfs_path="hdfs://localhost:9000/bloomfilter";InputStream in = new BufferedInputStream(new FileInputStream("/home/siddharth/Desktop/data/bloom_filter"));Configuration