You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Charlot W <7w...@gmail.com> on 2014/12/25 21:12:46 UTC

hortonworks HDP 2.2 quesions

Hi,
 i upgrade from hdp2.1 to hdp2.2 and i got two quesions

1. i run cmd to restart zookeeper:
export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf;export
ZOOCFG=zoo.cfg; source
/usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ;
/usr/hdp/current/zookeeper-server/bin/zkServer.sh restart

show:
*JMX enabled by default*
*Using config: *
*Stopping zookeeper ... /usr/hdp/current/zookeeper-server/bin/zkServer.sh:
line 145: kill: (27513) - No such process*
*STOPPED*
*JMX enabled by default*
*Using config: *
*Starting zookeeper ... STARTED*

2. i run cmd to start hbase master:
/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master

show:

*Error: Can not find or load main
class org.apache.hadoop.hbase.master.HMaster*

in /usr/hdp/current/hbase-client:

​

in /usr/bin:

​

please help, thank you:)

Re: hortonworks HDP 2.2 quesions

Posted by Charlot W <7w...@gmail.com>.
i restarted the pc, hbase master can started

2014-12-26 15:22 GMT+08:00 Charlot W <7w...@gmail.com>:

> maybe it is the upgrade cause the errors:)
>
> 2014-12-26 9:31 GMT+08:00 Ted Yu <yu...@gmail.com>:
>
>> The contents of the directories are not viewable.
>>
>> I tried the command on a node where hdp 2.2 was installed but didn't see
>> the error.
>>
>> Please continue this thread on hdp mailing list.
>>
>> Cheers
>>
>> On Thu, Dec 25, 2014 at 12:12 PM, Charlot W <7w...@gmail.com> wrote:
>>
>> > Hi,
>> >  i upgrade from hdp2.1 to hdp2.2 and i got two quesions
>> >
>> > 1. i run cmd to restart zookeeper:
>> > export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf;export
>> > ZOOCFG=zoo.cfg; source
>> > /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ;
>> > /usr/hdp/current/zookeeper-server/bin/zkServer.sh restart
>> >
>> > show:
>> > *JMX enabled by default*
>> > *Using config: *
>> > *Stopping zookeeper ...
>> /usr/hdp/current/zookeeper-server/bin/zkServer.sh:
>> > line 145: kill: (27513) - No such process*
>> > *STOPPED*
>> > *JMX enabled by default*
>> > *Using config: *
>> > *Starting zookeeper ... STARTED*
>> >
>> > 2. i run cmd to start hbase master:
>> > /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master
>> >
>> > show:
>> >
>> > *Error: Can not find or load main
>> > class org.apache.hadoop.hbase.master.HMaster*
>> >
>> > in /usr/hdp/current/hbase-client:
>> >
>> > ​
>> >
>> > in /usr/bin:
>> >
>> > ​
>> >
>> > please help, thank you:)
>> >
>>
>
>

Re: hortonworks HDP 2.2 quesions

Posted by Charlot W <7w...@gmail.com>.
maybe it is the upgrade cause the errors:)

2014-12-26 9:31 GMT+08:00 Ted Yu <yu...@gmail.com>:

> The contents of the directories are not viewable.
>
> I tried the command on a node where hdp 2.2 was installed but didn't see
> the error.
>
> Please continue this thread on hdp mailing list.
>
> Cheers
>
> On Thu, Dec 25, 2014 at 12:12 PM, Charlot W <7w...@gmail.com> wrote:
>
> > Hi,
> >  i upgrade from hdp2.1 to hdp2.2 and i got two quesions
> >
> > 1. i run cmd to restart zookeeper:
> > export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf;export
> > ZOOCFG=zoo.cfg; source
> > /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ;
> > /usr/hdp/current/zookeeper-server/bin/zkServer.sh restart
> >
> > show:
> > *JMX enabled by default*
> > *Using config: *
> > *Stopping zookeeper ...
> /usr/hdp/current/zookeeper-server/bin/zkServer.sh:
> > line 145: kill: (27513) - No such process*
> > *STOPPED*
> > *JMX enabled by default*
> > *Using config: *
> > *Starting zookeeper ... STARTED*
> >
> > 2. i run cmd to start hbase master:
> > /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master
> >
> > show:
> >
> > *Error: Can not find or load main
> > class org.apache.hadoop.hbase.master.HMaster*
> >
> > in /usr/hdp/current/hbase-client:
> >
> > ​
> >
> > in /usr/bin:
> >
> > ​
> >
> > please help, thank you:)
> >
>

Re: hortonworks HDP 2.2 quesions

Posted by Ted Yu <yu...@gmail.com>.
The contents of the directories are not viewable.

I tried the command on a node where hdp 2.2 was installed but didn't see
the error.

Please continue this thread on hdp mailing list.

Cheers

On Thu, Dec 25, 2014 at 12:12 PM, Charlot W <7w...@gmail.com> wrote:

> Hi,
>  i upgrade from hdp2.1 to hdp2.2 and i got two quesions
>
> 1. i run cmd to restart zookeeper:
> export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf;export
> ZOOCFG=zoo.cfg; source
> /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ;
> /usr/hdp/current/zookeeper-server/bin/zkServer.sh restart
>
> show:
> *JMX enabled by default*
> *Using config: *
> *Stopping zookeeper ... /usr/hdp/current/zookeeper-server/bin/zkServer.sh:
> line 145: kill: (27513) - No such process*
> *STOPPED*
> *JMX enabled by default*
> *Using config: *
> *Starting zookeeper ... STARTED*
>
> 2. i run cmd to start hbase master:
> /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master
>
> show:
>
> *Error: Can not find or load main
> class org.apache.hadoop.hbase.master.HMaster*
>
> in /usr/hdp/current/hbase-client:
>
> ​
>
> in /usr/bin:
>
> ​
>
> please help, thank you:)
>