icic, very very thank you, i trying now :)

On Fri, May 7, 2010 at 1:52 AM, Guilherme Germoglio <germog...@gmail.com>wrote:

>  from http://hadoop.apache.org/common/docs/current/cluster_setup.html
>
> conf/hdfs-site.xml:
>
>  dfs.data.dir Comma separated list of paths on the local filesystem of a
> DataNode where it should store its blocks. If this is a comma-delimited
> list
> of directories, then data will be stored in all named directories,
> typically
> on different devices.
> On Thu, May 6, 2010 at 2:49 PM, SingoWong <singoch...@gmail.com> wrote:
>
> > Thanks ur reply, i would like to ask where can i configure the position
> for
> > hadoop?
> >
> > On Fri, May 7, 2010 at 1:42 AM, Guilherme Germoglio <germog...@gmail.com
> > >wrote:
> >
> > > sorry, just clicked 'send' to quickly.
> > >
> > > if so, you should configure hadoop to use a directory other than /tmp
> to
> > > store its data.
> > >
> > > On Thu, May 6, 2010 at 2:39 PM, Guilherme Germoglio <
> germog...@gmail.com
> > > >wrote:
> > >
> > > > Some distros delete /tmp contents during reboot. Is this your case?
> > > >
> > > >
> > > > On Thu, May 6, 2010 at 2:35 PM, SingoWong <singoch...@gmail.com>
> > wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I try to put some data to hbase, then i following the sample code in
> > API
> > > >> below:
> > > >>
> > > >> public static void insertData(String rowid, String data) throws
> > > Exception
> > > >> {
> > > >>        if(table==null) {
> > > >> table = new HTable(conf, tablename);
> > > >> }
> > > >>  System.out.println("adding new data");
> > > >>  Put p = new Put(Bytes.toBytes(rowid));
> > > >> p.add(Bytes.toBytes("ip"), Bytes.toBytes("demoqualifier"),
> > > >> Bytes.toBytes(data));
> > > >> table.put(p);
> > > >> }
> > > >>
> > > >> But after i reboot my computer, cannot found the table and data in
> > hbase
> > > >> shell.
> > > >> I had checked befor i reboot, exist the files under the
> > > >> folder /tmp/hbase-root/hbase/, so i think the cache was flush, but
> all
> > > the
> > > >> files' size was 200M, so i wanna to know when and how to store the
> > data
> > > to
> > > >> file system?
> > > >>
> > > >> Is it that my coding issue or configuration issue? pls help.
> > > >>
> > > >> Thanks & Regards,
> > > >> Singo
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Guilherme
> > > >
> > > > msn: guigermog...@hotmail.com
> > > > homepage: http://sites.google.com/site/germoglio/
> > > >
> > >
> > >
> > >
> > > --
> > > Guilherme
> > >
> > > msn: guigermog...@hotmail.com
> > > homepage: http://sites.google.com/site/germoglio/
> > >
> >
> >
> >
> > --
> > 物徒公社 www.woooto.com
> >
>
>
>
> --
> Guilherme
>
> msn: guigermog...@hotmail.com
> homepage: http://sites.google.com/site/germoglio/
>

Reply via email to