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

Chad Roberts updated AMBARI-2200:
---------------------------------

    Attachment: AMBARI-2200.patch

Patch accepts --debug or -g when starting ambari-server (also works if the 
start script is ever modified to set the SERVER_START_DEBUG flag to True).  If 
--debug is given, ambari-server will be started with the command specified in 
SERVER_START_CMD_DEBUG, which turns on remote debugging on port 5005.

Also included is an additional unit test.
                
> ambari-server start script (ambari-server.py) will never use 
> SERVER_START_CMD_DEBUG
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-2200
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2200
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.3.1
>            Reporter: Chad Roberts
>            Assignee: Chad Roberts
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.4.0
>
>         Attachments: AMBARI-2200.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The ambari-server.py start script has a command defined for starting the 
> ambari-server in debug mode (SERVER_START_CMD_DEBUG, which turns on remote 
> debugging), but there is currently no option supported that will force the 
> script to use the debug start commaand.  
> I propose adding a --debug option so that you can run "ambari-server start 
> --debug" to activate remote debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to