Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
HBase in packaged form bundles the default XML only inside the HBase
jar(s). You need to download a source package tarball to get the
default XML otherwise.

> /usr/share/doc/hbase-0.92.1+67/hbase-default.xml

The above looks right, you can use that as a reference. Looks to be
installed via a docs package from the same distribution.

Otherwise, get it via a simple unzip from the jar:

$ unzip $HBASE_HOME/hbase-0.92.1-cdh4.0.1-security.jar hbase-default.xml
$ cat hbase-default.xml

On Mon, Sep 10, 2012 at 9:32 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
>> >
>> >
>>
>

--
Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB