You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Ted Yu <yu...@gmail.com> on 2014/12/19 22:06:00 UTC
Specification of user for registry command
Hi,
As user hrt_qa, I issued command to retrieve hbase-site.xml for an instance
owned by user hbase.
I got:
2014-12-19 21:01:09,279 [main] DEBUG main.ServiceLauncher
(ServiceLauncher.java:convertToExitException(522)) - While running service
Slider Client:
/registry/users/hrt_qa/services/org-apache-slider/hbasesliderapp
org.apache.slider.core.exceptions.NotFoundException:
/registry/users/hrt_qa/services/org-apache-slider/hbasesliderapp
at org.apache.slider.client.SliderClient.resolve(SliderClient.java:3279)
at
org.apache.slider.client.SliderClient.lookupServiceRecord(SliderClient.java:3245)
at
org.apache.slider.client.SliderClient.actionRegistryGetConfig(SliderClient.java:3112)
at
org.apache.slider.client.SliderClient.actionRegistry(SliderClient.java:2610)
at org.apache.slider.client.SliderClient.exec(SliderClient.java:404)
at org.apache.slider.client.SliderClient.runService(SliderClient.java:348)
at
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
at
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
at
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
at
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
at org.apache.slider.Slider.main(Slider.java:49)
Should registry command accept a parameter which specifies the username ?
Cheers
Re: Specification of user for registry command
Posted by Ted Yu <yu...@gmail.com>.
I don't see --path parameter for registry command on:
http://slider.incubator.apache.org/docs/manpage.html
FYI
On Sat, Dec 20, 2014 at 4:45 AM, Steve Loughran <st...@hortonworks.com>
wrote:
> On 19 December 2014 at 21:06, Ted Yu <yu...@gmail.com> wrote:
> >
> > Should registry command accept a parameter which specifies the username ?
>
>
>
> it already supports ~/ for yourself, so adding a ~username would be an
> obvious extension.
>
> (for people trying this at home, remember to escape ~ on bash, so go:
> --path \~/something
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>
Re: Specification of user for registry command
Posted by Steve Loughran <st...@hortonworks.com>.
On 19 December 2014 at 21:06, Ted Yu <yu...@gmail.com> wrote:
>
> Should registry command accept a parameter which specifies the username ?
it already supports ~/ for yourself, so adding a ~username would be an
obvious extension.
(for people trying this at home, remember to escape ~ on bash, so go:
--path \~/something
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.