add file adds the files to the distributed cache. it's the same as the -files 
option in hadoop streaming (and hadoop in general).

so u can use this option.

________________________________
From: Min Zhou [coderp...@gmail.com]
Sent: Thursday, February 26, 2009 5:53 PM
To: hive-user@hadoop.apache.org
Subject: How can I use DistributedCache in Hive programs?

Hi list,
    In the past time,  I used to store auxiliaries by DistributedCache in my 
hadoop programs,  and read them locally when mappers configuring.
I've found an add [FILE] <value> [<value>]* option in Hive cli mode for sending 
files to HDFS . How can I use DistributedCache in Hive programs?

Thanks,
Min
--
My research interests are distributed systems, parallel computing and bytecode 
based virtual machine.

http://coderplay.javaeye.com

Reply via email to