ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xi Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17698) Button to restart services with stale configs is not functional
Date Wed, 13 Jul 2016 21:45:20 GMT

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

Xi Wang commented on AMBARI-17698:
----------------------------------

28956 tests complete (30 seconds)
  154 tests pending

> Button to restart services with stale configs is not functional
> ---------------------------------------------------------------
>
>                 Key: AMBARI-17698
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17698
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Xi Wang
>            Assignee: Xi Wang
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17698.patch
>
>
> Button to restart services with stale configs is not functional. On clicking this button
api call POST http://172.22.104.2:8080/api/v1/persist  is triggered.   Looks like invalid
body is being sent with the request.
> Request Body :
> {code}
> {"errors":"{\"1468411551967\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468411576058\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468411647668\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468411743006\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468412353220\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468412471686\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468412489068\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468412880846\":{\"file\":\"http://172.22.104.2:8080/javascripts/vendor.js\",\"line\":13016,\"col\":28,\"error\":\"Uncaught
TypeError: Cannot read property 'handler' of undefined\",\"stackTrace\":\"TypeError: Cannot
read property 'handler' of undefined\\n    at HTMLDivElement.<anonymous> (/vendor.js:13016:28)\\n
   at HTMLDivElement.handle (/vendor.js:126:7953)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\\n
   at HTMLDivElement.i (/vendor.js:126:709)\"},\"1468412880853\":{\"file\":\"http://172.22.104.2:8080/javascripts/vendor.js\",\"line\":13016,\"col\":28,\"error\":\"Uncaught
TypeError: Cannot read property 'handler' of undefined\",\"stackTrace\":\"TypeError: Cannot
read property 'handler' of undefined\\n    at HTMLDivElement.<anonymous> (/vendor.js:13016:28)\\n
   at HTMLDivElement.dispatch (/vendor.js:126:4816)\\n    at HTMLDivElement.i (/vendor.js:126:709)\"},\"1468413142842\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"},\"1468413196374\":{\"file\":\"http://172.22.104.2:8080/javascripts/app.js\",\"line\":165918,\"col\":30,\"error\":\"Uncaught
ReferenceError: data is not defined\",\"stackTrace\":\"ReferenceError: data is not defined\\n
   at Object.format (/app.js:165918:30)\\n    at Object.formatRequest (/app.js:166591:29)\\n
   at Class.send (/app.js:166675:25)\\n    at Class.restartHostComponents (/app.js:24480:16)\\n
   at /app.js:24410:18\\n    at Class.onPrimary (/app.js:195909:7)\\n    at Class.newFunc
[as onPrimary] (/vendor.js:2627:16)\\n    at handler (/vendor.js:21227:35)\\n    at HTMLButtonElement.<anonymous>
(/vendor.js:13019:16)\\n    at HTMLDivElement.dispatch (/vendor.js:126:4816)\"}}"}
> Name
> ?fields=ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/installed_count,ServiceComponentInfo/started_count,ServiceComponentInfo/total_count,ServiceComponentInfo/display_name,host_components/HostRoles/host_name&minimal_response=true&_=1468413195430
> persist
> ?ServiceComponentInfo/component_name=APP_TIMELINE_SERVER|ServiceComponentInfo/category=MASTER&fields=ServiceComponentInfo/service_name,host_components/HostRoles/display_name,host_components/HostRoles/host_name,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/ha_state,host_components/HostRoles/desired_admin_state,,host_components/metrics/jvm/memHeapUsedM,host_components/metrics/jvm/HeapMemoryMax,host_components/metrics/jvm/HeapMemoryUsed,host_components/metrics/jvm/memHeapCommittedM,host_components/metrics/mapred/jobtracker/trackers_decommissioned,host_components/metrics/cpu/cpu_wio,host_components/metrics/rpc/client/RpcQueueTime_avg_time,host_components/metrics/dfs/FSNamesystem/*,host_components/metrics/dfs/namenode/Version,host_components/metrics/dfs/namenode/LiveNodes,host_components/metrics/dfs/namenode/DeadNodes,host_components/metrics/dfs/namenode/DecomNodes,host_components/metrics/dfs/namenode/TotalFiles,host_components/metrics/dfs/namenode/UpgradeFinalized,host_components/metrics/dfs/namenode/Safemode,host_components/metrics/runtime/StartTime,host_components/metrics/hbase/master/IsActiveMaster,host_components/metrics/hbase/master/MasterStartTime,host_components/metrics/hbase/master/MasterActiveTime,host_components/metrics/hbase/master/AverageLoad,host_components/metrics/master/AssignmentManger/ritCount,metrics/api/v1/cluster/summary,metrics/api/v1/topology/summary,metrics/api/v1/nimbus/summary,host_components/metrics/yarn/Queue,host_components/metrics/yarn/ClusterMetrics/NumActiveNMs,host_components/metrics/yarn/ClusterMetrics/NumLostNMs,host_components/metrics/yarn/ClusterMetrics/NumUnhealthyNMs,host_components/metrics/yarn/ClusterMetrics/NumRebootedNMs,host_components/metrics/yarn/ClusterMetrics/NumDecommissionedNMs&minimal_response=true&_=1468413196591
> wizard-data?_=1468413197873
> requests?to=end&page_size=10&fields=Requests&_=1468413198090
> {code}



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

Mime
View raw message