[jira] [Updated] (AMBARI-20595) There is a syntax error in install script hence ambari doesn't pick the python 2.7 if system python path is not present

2017-04-09 Thread Aman Poonia (JIRA)

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

Aman Poonia updated AMBARI-20595:
-
Fix Version/s: 2.5.1

> There is a syntax error in install script hence ambari doesn't pick the 
> python 2.7 if system python path is not present
> ---
>
> Key: AMBARI-20595
> URL: https://issues.apache.org/jira/browse/AMBARI-20595
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-agent, ambari-server
>Affects Versions: trunk
>Reporter: Aman Poonia
>Priority: Minor
> Fix For: trunk, 2.5.1
>
> Attachments: AMBARI-20595.patch
>
>
> This snippet of code
> {quote}
> python_binaries=( "/usr/bin/python" "/usr/bin/python2" "/usr/bin/python2.7", 
> "/usr/bin/python2.6" )
> {quote}
> The comma after "/usr/bin/python2.7", causes this path to be always invalid.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-18423) Support creating/editing alert dispatch targets for script-based alert dispatchers by web wizard instead of command line

2017-04-09 Thread Yao Lei (JIRA)

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

Yao Lei updated AMBARI-18423:
-
Attachment: (was: AMBARI-18423.patch)

> Support creating/editing alert dispatch targets for script-based alert 
> dispatchers by web wizard instead of command line
> 
>
> Key: AMBARI-18423
> URL: https://issues.apache.org/jira/browse/AMBARI-18423
> Project: Ambari
>  Issue Type: Improvement
>  Components: alerts, ambari-web
>Affects Versions: trunk
>Reporter: Yao Lei
>Assignee: Yao Lei
>Priority: Minor
> Fix For: trunk
>
> Attachments: alert_script_target_1.png, alert_script_target_2.png, 
> alert_script_target_3.png, AMBARI-18423_1.patch
>
>
> Ambari now support creating/editing three kinds of alert dispatch targets  by 
> web wizard,  including EMAIL,SNMP,Custom SNMP.
> If we want to create another kind of alert dispatch target  ALERT_SCRIPT  for 
>  script-based alert dispatcher,we have to execute  a command  manually like  
> following:
> {code}
> POST api/v1/alert_targets
> 
> {
>   "AlertTarget": {
> "name": "syslogger",
> "description": "Syslog Target",
> "notification_type": "ALERT_SCRIPT",
> "global": true
>   }
> }
> {code}
> or 
> {code}
> POST api/v1/alert_targets
> {
>   "AlertTarget": {
> "name": "syslogger",
> "description": "Syslog Target",
> "notification_type": "ALERT_SCRIPT",
> "global": false,
> "groups":[1,3]
> "alert_states":["WARNING","CRITICAL","UNKNOWN"],
> "properties": {
>   "ambari.dispatch-property.script": 
> "com.mycompany.dispatch.syslog.script"
> }
>   }
> }
> {code}
> More details, please see 
> https://cwiki.apache.org/confluence/display/AMBARI/Creating+a+Script-based+Alert+Dispatcher+-+2.4.0
> We should do this by web wizard  rather than  command line, which will lead 
> to more convenience
> We think it is really helpeful  for us when using script-based alert 
> dispatcher.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)