[ 
https://issues.apache.org/jira/browse/SLIDER-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

thomas liu updated SLIDER-158:
------------------------------
    Attachment: SLIDER-158_slider_diagnostic_option_patch

Code change path for this ticket.

Tested on Linux secure and non-secure cluster, as well as on Windows.
There are 2 issues on windows that can't be reproduced on Linux:

1) slider diagnostic --all [application name]
[SM] See image @ 10:09:37 - there seems to be a bug. My cluster has one live 
application but several Failed/Killed ones with the same name. See the image 
@10:11:10 for the YARN RM UI.

2) slider diagnostic --level [application name]
[SM] Reported error, could be a bug

c:\slider\slider-0.51.0-incubating-SNAPSHOT\bin>python slider.py diagnostic 
--level cl1
slider_home = "c:\slider\slider-0.51.0-incubating-SNAPSHOT"
slider_jvm_opts = "-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Xmx256m -Djava.confdir=c:\slider\slider-0.51.0-incubati
ng-SNAPSHOT\conf"
slider_classpath = 
"c:\slider\slider-0.51.0-incubating-SNAPSHOT\lib\*;c:\slider\slider-0.51.0-incubating-SNAPSHOT\conf;;c:\hdp\hadoo
p-2.6.0.2.2.0.0-1283\etc\hadoop"
2014-09-26 14:30:27,335 [WINUTILS.EXE-001] INFO  tools.SliderUtils - 
5032697856,4294500352,2311393280,2088124416,1,2674000,35472234
2014-09-26 14:30:27,758 [WINUTILS.EXE-001] WARN  tools.SliderUtils -
2014-09-26 14:30:27,760 [WINUTILS.EXE-001] INFO  tools.SliderUtils -
2014-09-26 14:30:28,358 [main] INFO  client.RMProxy - Connecting to 
ResourceManager at hadoop1/10.0.2.15:8032
2014-09-26 14:30:33,023 [main] INFO  client.SliderClient - Slider-client.xml is 
accessible
2014-09-26 14:30:33,551 [main] INFO  client.SliderClient - Slider AppMaster is 
accessible
2014-09-26 14:30:33,581 [main] INFO  util.ExitUtil - Exiting with status -1


> add a "slider diagnostics" command
> ----------------------------------
>
>                 Key: SLIDER-158
>                 URL: https://issues.apache.org/jira/browse/SLIDER-158
>             Project: Slider
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: Slider 0.30
>            Reporter: Steve Loughran
>            Assignee: thomas liu
>         Attachments: 2014-09-15-Diagnosticoptiondesign-steve.docx, 
> Diagnosticoptiondesign.docx, SLIDER-158_slider_diagnostic_option_patch
>
>
> Tech preview users are having problems, and it is very hard for us to 
> diagnose what is going on.
> I propose a {{slider diagnostics}} command to print out the client-side 
> state, look at HDFS and see what's up there



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to