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" <huaxi...@asiainfo-linkage.com> 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:monishs...@gmail.com] > 发送时间: 2012年9月10日 15:00 > 收件人: user@hbase.apache.org > 主题: 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 <jhancock1...@gmail.com> > 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 > > <huaxi...@asiainfo-linkage.com > > >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 > > > > > > > > > >