I have started getting error even for a small file. Any ideas what I am missing?
ora...@hadoop-master:~$ ls -lrt hwkey -rw-r--r-- 1 oracle oracle 12 2008-12-22 11:57 hwkey ora...@hadoop-master:~$ cat hwkey Hello World ora...@hadoop-master:~$ ps -ef|grep mem oracle 12723 1 0 16:48 ? 00:00:00 memcached -d -m 600 -l hadoop-master -l 11211 oracle 13318 10833 0 17:13 pts/1 00:00:00 grep mem ora...@hadoop-master:~$ memcp --servers=hadoop-master:11211 hwkey memcp: hwkey: memcache error SYSTEM ERROR Regards Apun On Mon, Dec 22, 2008 at 3:26 PM, Joseph Engo <[email protected]> wrote: > Sounds like tempfs is what ya want > > On Dec 21, 2008, at 10:33 PM, "Apun Hiran" <[email protected]> wrote: > > Hello Scott, > I am trying to put a binary file in memory across on 2 servers. The size of > the file is 400MB. > Is 1MB the limitation of memcache? My requirement is to have large files > (image) cached into memory for quick access. > I have enough memory (RAM). I am looking for a possible solution where I > can store large files across system if required. > Do you have any suggesstion a to how I can achieve that? > Regards > Apun > > On Mon, Dec 22, 2008 at 11:27 AM, Scott Lillibridge > <<[email protected]> > [email protected]> wrote: > >> Cached items cannot be more the 1024KB in size. >> >> On Sun, Dec 21, 2008 at 7:17 PM, Apun Hiran < <[email protected]> >> [email protected]> wrote: >> >>> >>> Hello, >>> I am trying to cache a file across 2 memcached instances. >>> ora...@hadoop-master:~$ ssh hadoop1 >>> Linux hadoop1 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 >>> i686 >>> >>> The programs included with the Ubuntu system are free software; >>> the exact distribution terms for each program are described in the >>> individual files in /usr/share/doc/*/copyright. >>> >>> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by >>> applicable law. >>> >>> To access official Ubuntu documentation, please visit: >>> <http://help.ubuntu.com/>http://help.ubuntu.com/ >>> Last login: Fri Dec 19 16:45:35 2008 from hadoop-master >>> ora...@hadoop1:~$ memcached -d -m 1100 -l hadoop1 -p 11211 >>> ora...@hadoop1:~$ exi >>> -bash: exi: command not found >>> ora...@hadoop1:~$ exit >>> logout >>> Connection to hadoop1 closed. >>> ora...@hadoop-master:~$ memcached -d -m 600 -l hadoop-master -p 11211 >>> ora...@hadoop-master:~$ ls -lrt dubai.dmp >>> -rw-r--r-- 1 oracle oracle 449716224 2008-12-03 10:19 dubai.dmp >>> ora...@hadoop-master:~$ memcp --servers=hadoop1,hadoop-master >>> dubai.dmp >>> memcp: dubai.dmp: memcache error SYSTEM ERROR >>> >>> Any clues what I am doing wrong to cache the file? >>> >>> Regards >>> Apun >>> >> >> > > > -- > Thanks > Regards > Apun Hiran > --------------------------------------- > "Some Men see things as they are and say Why; > I dream things that never were and say Why Not." > --------------------------------------- > > -- Thanks Regards Apun Hiran --------------------------------------- "Some Men see things as they are and say Why; I dream things that never were and say Why Not." ---------------------------------------
