You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jay Vyas <ja...@gmail.com> on 2013/10/04 01:43:19 UTC
hbase.master parameter?
What happened to the "hbase.master" parameter?
I dont see it in the docs... was it deprecated?
It appears to still have an effect in 94.7
--
Jay Vyas
http://jayunit100.blogspot.com
Re: hbase.master parameter?
Posted by takeshi <ta...@gmail.com>.
hi,
I not sure which option you're meant to, in our env., using hbase-0.94.2,
but I can not find the option "hbase.master" in the configs
{code}
egrep -in --color "hbase\.master" /etc/hbase/conf/*
/etc/hbase/conf/hbase-site.xml:21: <name>hbase.master.port</name>
/etc/hbase/conf/hbase-site.xml:25: <name>hbase.master.info.port</name>
/etc/hbase/conf/hbase-site.xml:86: <name>hbase.master.keytab.file</name>
/etc/hbase/conf/hbase-site.xml:90:
<name>hbase.master.kerberos.principal</name>
/etc/hbase/conf/hbase-site.xml:94:
<name>hbase.master.kerberos.https.principal</name>
{code}
Also in the git branch
{code}
$ cd hbase
$ git status
# On branch 0.94
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
...
$ egrep -in -B 3 "version.0\.94.*" pom.xml
36- <groupId>org.apache.hbase</groupId>
37- <artifactId>hbase</artifactId>
38- <packaging>jar</packaging>
39: <version>0.94.13-SNAPSHOT</version>
$ egrep -inr "hbase\.master" conf/
# no any found
$ egrep -inr "hbase\.master" ./src/main/resources/
./src/main/resources/hbase-default.xml:37: <name>hbase.master.port</name>
./src/main/resources/hbase-default.xml:67:
<name>hbase.master.info.port</name>
./src/main/resources/hbase-default.xml:74:
<name>hbase.master.info.bindAddress</name>
./src/main/resources/hbase-default.xml:282:
<name>hbase.master.dns.interface</name>
./src/main/resources/hbase-default.xml:289:
<name>hbase.master.dns.nameserver</name>
./src/main/resources/hbase-default.xml:311:
<name>hbase.master.logcleaner.ttl</name>
./src/main/resources/hbase-default.xml:318:
<name>hbase.master.logcleaner.plugins</name>
./src/main/resources/hbase-default.xml:319:
<value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner</value>
./src/main/resources/hbase-default.xml:571:
<name>hbase.master.keytab.file</name>
./src/main/resources/hbase-default.xml:578:
<name>hbase.master.kerberos.principal</name>
./src/main/resources/hbase-default.xml:951:
<name>hbase.master.hfilecleaner.plugins</name>
./src/main/resources/hbase-default.xml:952:
<value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner</value>
./src/main/resources/hbase-webapps/master/zk.jsp:30:
import="org.apache.hadoop.hbase.master.HMaster"
./src/main/resources/hbase-webapps/master/table.jsp:35:
import="org.apache.hadoop.hbase.master.HMaster"
./src/main/resources/hbase-webapps/master/table.jsp:47: boolean
showFragmentation =
conf.getBoolean("hbase.master.ui.fragmentation.enabled", false);
./src/main/resources/hbase-webapps/master/table.jsp:48: boolean readOnly =
conf.getBoolean("hbase.master.ui.readonly", false);
./src/main/resources/hbase-webapps/master/snapshot.jsp:27:
import="org.apache.hadoop.hbase.master.HMaster"
./src/main/resources/hbase-webapps/master/snapshot.jsp:40: boolean
readOnly = conf.getBoolean("hbase.master.ui.readonly", false);
./src/main/resources/hbase-webapps/master/tablesDetailed.jsp:24:
import="org.apache.hadoop.hbase.master.HMaster"
{code}
Best regards
takeshi
2013/10/4 Jay Vyas <ja...@gmail.com>
> What happened to the "hbase.master" parameter?
>
> I dont see it in the docs... was it deprecated?
>
> It appears to still have an effect in 94.7
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>
Re: hbase.master parameter?
Posted by Jean-Daniel Cryans <jd...@apache.org>.
hbase.master was removed when we added zookeeper, so now a client will do a
lookup in ZK instead of talking to a pre-determined master. So in a
way, hbase.zookeeper.quorum is what replaces hbase.master
FWIW that was done in 0.20.0 which was released in September of 2009, so
hbase.master has been removed 4 years ago.
J-D
On Fri, Oct 4, 2013 at 8:11 AM, Jay Vyas <ja...@gmail.com> wrote:
> Oh wow. looking in the source this really is an old parameter: It appears
> that the answer to my question is :
> that these are the master parameters:
>
> src/main/resources/hbase-default.xml: <name>hbase.master.port</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.info.port</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.info.bindAddress</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.dns.interface</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.dns.nameserver</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.logcleaner.ttl</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.logcleaner.plugins</name>
> src/main/resources/hbase-default.xml:
> <value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner</value>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.keytab.file</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.kerberos.principal</name>
> src/main/resources/hbase-default.xml:
> <name>hbase.master.hfilecleaner.plugins</name>
> src/main/resources/hbase-default.xml:
>
> <value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner</value>
> src/test/resources/hbase-site.xml:
> <name>hbase.master.event.waiting.time</name>
> src/test/resources/hbase-site.xml: <name>hbase.master.info.port</name>
> src/test/resources/hbase-site.xml: <description>The port for the hbase
> master web UI
> src/test/resources/hbase-site.xml:
> <name>hbase.master.lease.thread.wakefrequency</name>
>
>
> On Fri, Oct 4, 2013 at 11:06 AM, Jay Vyas <ja...@gmail.com> wrote:
>
> > Thanks for the feedback !
> >
> > So - are you sure it has no effect? By "obsolete" - do we mean
> > deprecated?
> >
> > In this case - which parameters have replaced it and how [specifically] ?
> >
> > Any help on this issue would be appreciated , because im seeing an effect
> > when i have the parameter , will check my hbase version and confirm.
> >
> >
> > On Fri, Oct 4, 2013 at 2:05 AM, Harsh J <ha...@cloudera.com> wrote:
> >
> >> That property hasn't been in effect since 0.90 (far as I can
> >> remember). Ever since we switched master discovery to ZK, the property
> >> has been obsolete.
> >>
> >> On Fri, Oct 4, 2013 at 5:13 AM, Jay Vyas <ja...@gmail.com> wrote:
> >> > What happened to the "hbase.master" parameter?
> >> >
> >> > I dont see it in the docs... was it deprecated?
> >> >
> >> > It appears to still have an effect in 94.7
> >> >
> >> > --
> >> > Jay Vyas
> >> > http://jayunit100.blogspot.com
> >>
> >>
> >>
> >> --
> >> Harsh J
> >>
> >
> >
> >
> > --
> > Jay Vyas
> > http://jayunit100.blogspot.com
> >
>
>
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>
Re: hbase.master parameter?
Posted by Jay Vyas <ja...@gmail.com>.
Oh wow. looking in the source this really is an old parameter: It appears
that the answer to my question is :
that these are the master parameters:
src/main/resources/hbase-default.xml: <name>hbase.master.port</name>
src/main/resources/hbase-default.xml: <name>hbase.master.info.port</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.info.bindAddress</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.dns.interface</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.dns.nameserver</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.logcleaner.ttl</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.logcleaner.plugins</name>
src/main/resources/hbase-default.xml:
<value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner</value>
src/main/resources/hbase-default.xml:
<name>hbase.master.keytab.file</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.kerberos.principal</name>
src/main/resources/hbase-default.xml:
<name>hbase.master.hfilecleaner.plugins</name>
src/main/resources/hbase-default.xml:
<value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner</value>
src/test/resources/hbase-site.xml:
<name>hbase.master.event.waiting.time</name>
src/test/resources/hbase-site.xml: <name>hbase.master.info.port</name>
src/test/resources/hbase-site.xml: <description>The port for the hbase
master web UI
src/test/resources/hbase-site.xml:
<name>hbase.master.lease.thread.wakefrequency</name>
On Fri, Oct 4, 2013 at 11:06 AM, Jay Vyas <ja...@gmail.com> wrote:
> Thanks for the feedback !
>
> So - are you sure it has no effect? By "obsolete" - do we mean
> deprecated?
>
> In this case - which parameters have replaced it and how [specifically] ?
>
> Any help on this issue would be appreciated , because im seeing an effect
> when i have the parameter , will check my hbase version and confirm.
>
>
> On Fri, Oct 4, 2013 at 2:05 AM, Harsh J <ha...@cloudera.com> wrote:
>
>> That property hasn't been in effect since 0.90 (far as I can
>> remember). Ever since we switched master discovery to ZK, the property
>> has been obsolete.
>>
>> On Fri, Oct 4, 2013 at 5:13 AM, Jay Vyas <ja...@gmail.com> wrote:
>> > What happened to the "hbase.master" parameter?
>> >
>> > I dont see it in the docs... was it deprecated?
>> >
>> > It appears to still have an effect in 94.7
>> >
>> > --
>> > Jay Vyas
>> > http://jayunit100.blogspot.com
>>
>>
>>
>> --
>> Harsh J
>>
>
>
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>
--
Jay Vyas
http://jayunit100.blogspot.com
Re: hbase.master parameter?
Posted by Jay Vyas <ja...@gmail.com>.
Thanks for the feedback !
So - are you sure it has no effect? By "obsolete" - do we mean deprecated?
In this case - which parameters have replaced it and how [specifically] ?
Any help on this issue would be appreciated , because im seeing an effect
when i have the parameter , will check my hbase version and confirm.
On Fri, Oct 4, 2013 at 2:05 AM, Harsh J <ha...@cloudera.com> wrote:
> That property hasn't been in effect since 0.90 (far as I can
> remember). Ever since we switched master discovery to ZK, the property
> has been obsolete.
>
> On Fri, Oct 4, 2013 at 5:13 AM, Jay Vyas <ja...@gmail.com> wrote:
> > What happened to the "hbase.master" parameter?
> >
> > I dont see it in the docs... was it deprecated?
> >
> > It appears to still have an effect in 94.7
> >
> > --
> > Jay Vyas
> > http://jayunit100.blogspot.com
>
>
>
> --
> Harsh J
>
--
Jay Vyas
http://jayunit100.blogspot.com
Re: hbase.master parameter?
Posted by Harsh J <ha...@cloudera.com>.
That property hasn't been in effect since 0.90 (far as I can
remember). Ever since we switched master discovery to ZK, the property
has been obsolete.
On Fri, Oct 4, 2013 at 5:13 AM, Jay Vyas <ja...@gmail.com> wrote:
> What happened to the "hbase.master" parameter?
>
> I dont see it in the docs... was it deprecated?
>
> It appears to still have an effect in 94.7
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
--
Harsh J