Huaxiang, You are looking for hbase-default.xml, right?
The output of the find command is telling you where it is. /usr/share/doc/hbase-0.92.1+67/hbase-default.xml You should be able to enter the commands: less /usr/share/doc/hbase-0.92.1+67/hbase-default.xml or vi /usr/share/doc/hbase-0.92.1+67/hbase-default.xml or emacs /usr/share/doc/hbase-0.92.1+67/hbase-default.xml or nano /usr/share/doc/hbase-0.92.1+67/hbase-default.xml and see the contents of hbase-default.xml Or just do cd /usr/share/doc/hbase-0.92.1+67/ and then ls -la and you ought to see hbase-default there in the output of the ls command. -John On Mon, Sep 10, 2012 at 12:02 PM, 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 > > > > > > > > > >
