incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3554) Host cleanup commands should allow silent execution
Date Tue, 22 Oct 2013 22:11:48 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802347#comment-13802347
] 

Siddharth Wagle commented on AMBARI-3554:
-----------------------------------------

+1 for the patch.

> Host cleanup commands should allow silent execution
> ---------------------------------------------------
>
>                 Key: AMBARI-3554
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3554
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.4.2
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.4.2
>
>         Attachments: AMBARI-3554.patch
>
>
> Ambari need to add a silent option to the cleanup script. In a typical dev/test cluster
it might be OK to delete all resources. However, in a prod cluster users need to be careful
before deleting the resources such as users, folders, etc.
> It is likely for someone to inadvertently copy-paste the command from the UI without
going through the help option. So we need to carefully decide what is suggested in the UI.The
most conservative option (e.g. do not delete users) with some help text is ideal.
> Possible UI text:
> {code}
> python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py  -k "users"
>     To delete all resources, ignore option -k. Use "-s" for silent cleanup. 
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message