You don¹t need to do su <user>. There is an option --user which you can
provide on the command line. storm-slider script is a wrapper on top of
slider command line. It has a syntax mapping issue. You can use slider
command line directly to do the same and much much more.

For e.g. Running this fetches you the quicklinks for a specific user.

slider registry --name storm2 --user yarn --getexp quicklinks

I will file a bug on the storm-slider script.

-Gour

On 4/9/15, 8:53 AM, "Chackravarthy Esakkimuthu" <[email protected]>
wrote:

>sure, in this case may be the following doc can be updated to use 'su
><user>' of respective user for these commands. Because all other commands
>have clear 'usage' template.
>
>http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.0/YARN_RM_v22/runnin
>g_applications_on_slider/index.html#Item1.1
>
>On Thu, Apr 9, 2015 at 9:10 PM, Jon Maron <[email protected]> wrote:
>
>> Aside from the yarn issue you discovered wrt HA, if you have any
>> recommendations for usability/diagnosability, please feel free to let us
>> know or file JIRAs (e.g.  perhaps the error message below should add
>> ³Please make sure you are logged in as the application owner² :) )
>>
>> ‹ Jon
>>
>> > On Apr 9, 2015, at 11:29 AM, Chackravarthy Esakkimuthu <
>> [email protected]> wrote:
>> >
>> > Thanks steve, I was running with 'yarn' user while creating storm
>> > application on YARN, but forgot to run as 'yarn' user while checking
>>the
>> > application status.
>> > And yeah, connected to zookeeper and checked under "/registry/users".
>>(as
>> > well as the way you suggested)
>> >
>> > Thanks all, Now I could able to submit sample topology on deployed
>>storm
>> > also. :)
>> >
>> > I will try other actions like stopping/killing the running instance.
>> Thanks
>> > guys again!!
>> >
>> >
>> > On Thu, Apr 9, 2015 at 7:03 PM, Steve Loughran
>><[email protected]>
>> > wrote:
>> >
>> >>
>> >> On 9 Apr 2015, at 12:51, Chackravarthy Esakkimuthu <
>> [email protected]
>> >> <mailto:[email protected]>> wrote:
>> >>
>> >> *2015-04-09 17:14:44,667 [main] ERROR main.ServiceLauncher -
>> >> /registry/users/chackaravarthy.e/services/org-apache-slider/storm2*
>> >> *2015-04-09 17:14:44,671 [main] INFO  util.ExitUtil - Exiting with
>> status
>> >> 44*
>> >>
>> >>
>> >> 44 is our exit code "not found" (== 404); it's saying the registry
>>entry
>> >> did not exist in zookeeper
>> >>
>> >> Looking at the path, I worry about the username chackaravarthy.e ;
>>maybe
>> >> its registering under a different user.
>> >>
>> >>
>> >>  1.  Can you get to the Slider AM page via the RM?
>> >>  2.  Can you then look at the listing of exported URLs there?
>>Especially
>> >> one "registry".
>> >>  3.  Click on that and you can then browse a JSON view of the
>>registry;
>> >>  4.  add /users to the end of the path to get the listing of all
>>users,
>> >> /users/chackaravarthy.e/  to see the services you have under you ...
>>you
>> >> should be able to continue down to see if there is a storm2 service
>> entry
>> >>
>> >>
>> >>
>>
>>

Reply via email to