Member since
05-18-2017
3
Posts
0
Kudos Received
0
Solutions
05-18-2017
07:27 AM
I found my solution here, as it is a known bug to be fixed in future release. Thank https://community.cloudera.com/t5/Cloudera-Manager-Installation/Stopping-selected-roles-from-Service-action-menu-in-a-CSD/m-p/52783#M10034
... View more
05-18-2017
07:19 AM
Hello, I am using csd to link our own service controls with cloudera manager. How do I specify a stopRunner for each role under [roles] section. In the sdl file, I have a top level stopRunner as this, which works, stopRunner" : {
"relevantRoleTypes" : ["WEBSERVER"],
"runner" : {
"program" : "scripts/control.sh",
"args" : ["stop"]
},
"timeout" : 10000,
"masterRole" : "WEBSERVER"
}, but here under roles, stopRunner didn't do the job. roles" : [
{
"name" : "WEBSERVER",
"label" : "Server",
"pluralLabel" : "Servers",
"startRunner" : {
"program" : "scripts/control.sh",
"args" : [
"start",
"./params.properties",
"./workers.properties"
]
},
"stopRunner" : {
"program" : "scripts/control.sh",
"args" : [
"stop"]
}, ... I am using following version of Cloudera manager; Version: Cloudera Enterprise 5.7.2 (#17 built by jenkins on 20160722-1347 git: 1ac5976e8ad8f16506c2db236aee83141915c44d) Java VM Name: Java HotSpot(TM) 64-Bit Server VM Java VM Vendor: Oracle Corporation Java Version: 1.7.0_67 Server Time: May 18, 2017 10:09:08 AM, Eastern Daylight Time (EDT) Copyright © 2011-2017 Cloudera, Inc. All rights reserved. Hadoop and the Hadoop elephant logo are trademarks of the Apache Software Foundation. Thank you in advance.
... View more
Labels:
- Labels:
-
Cloudera Manager