Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> for CDH4.0, where can i find the hbase-default.xml file if using RPM install


Copy link to this message
-
Re: 答复: for CDH4.0, where can i find the hbase-default.xml file if using RPM install
You want to look at the hbase-xxx.jar inside the .tar.gz archive.
Tested with 0.94.1:

$ tar -O -xf hbase-0.94.1.tar.gz "*hbase-0.94.1.jar" | jar -t | grep hbase-default.xmlhbase-default.xml
It's there. :)

-- Lars
----- Original Message -----
From: Srinivas Mupparapu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:
Sent: Monday, September 10, 2012 10:26 AM
Subject: Re: 答复: for CDH4.0, where can i find the hbase-default.xml file if using RPM install

I just installed HBase from .tar.gz file and I couldn't find that file
either.

Thanks,
Srinivas M
On Sep 10, 2012 11:03 AM, "huaxiang" <[EMAIL PROTECTED]> wrote:

> Hi,
>    I don't find the hbase-default.xml file using following command, any
> other way?
>    To be clear, this hadoop was installed with CDH RPM package.
>
> Huaxiang
>
> [root@hadoop1 ~]# clear
> [root@hadoop1 ~]# rpm -qlp *rpm_file_name.rpm*
> [root@hadoop1 ~]# ^C
> [root@hadoop1 ~]# find / -name "*hbase-default.xml*"
> /usr/share/doc/hbase-0.92.1+67/hbase-default.xml
> [root@hadoop1 ~]#
>
> -----邮件���件-----
> 发件人: Monish r [mailto:[EMAIL PROTECTED]]
> 发送时间: 2012年9月10日 15:00
> 收件人: [EMAIL PROTECTED]
> 主题: Re: for CDH4.0, where can i find the hbase-default.xml file if using
> RPM install
>
> Hi,
> Try
>
> rpm -qlp *rpm_file_name.rpm*
>
> This will list all files in the rpm , from this u can know where
> hbase-default.xml is.
>
>
> On Sat, Sep 8, 2012 at 3:16 PM, John Hancock <[EMAIL PROTECTED]>
> wrote:
>
> > Huaxiang,
> >
> > This may not be the quickest way to find it, but if it's anywhere in
> > your system, this command will find it:
> >
> > find / -name "*hbase-default.xml*"
> >
> > or
> >
> > cd / find / -name "*hbase-default.xml*" > temp.txt
> >
> > will save the output of the find command to a text file leaving out
> > any error messages that might be distracting.
> >
> >
> > -John
> >
> >
> >
> > On Sat, Sep 8, 2012 at 12:47 AM, huaxiang
> > <[EMAIL PROTECTED]
> > >wrote:
> >
> > > Hi,
> > >
> > > I install CDH4.0 with RPM package, but I cannot find the
> > hbase-default.xml
> > > file?
> > >
> > > Where can I find it?
> > >
> > >
> > >
> > > Best R.
> > >
> > >
> > >
> > > Huaxiang
> > >
> > >
> >
>
>