Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Re: Reading Sequence File from Hadoop Distributed Cache ..


Copy link to this message
-
Re: Reading Sequence File from Hadoop Distributed Cache ..
I'll try that thanks for the suggestion Steve!
Mark

On Fri, Oct 12, 2012 at 11:27 AM, Steve Loughran <[EMAIL PROTECTED]>wrote:

>
>
> On 11 October 2012 20:53, Mark Olimpiati <[EMAIL PROTECTED]> wrote:
>
>> Thanks for the reply Harsh, but as I said I tried locally too by using
>> the following:
>>
>>      FileSystem localFs = cachedFiles[0].getFileSystem(new
>> Configuration());
>>
>>
>> Isn't the above supposed to give me the local file system ?? If yes, I
>> tried that but didn't work, if not, can you show one example?
>>
>> Thank you,
>> Mark
>
>
> gives you the default FS for that process, which can be different.
>
> what about FileSystem.get("file://tmp",new Configuration())
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB