[jira] [Updated] (AMBARI-23415) Remove unwanted trailing slash at the end of hbase_pid_dir path in ams-hbase-env
[ https://issues.apache.org/jira/browse/AMBARI-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JaySenSharma updated AMBARI-23415: -- Resolution: Fixed Fix Version/s: 2.7.0 Status: Resolved (was: Patch Available) > Remove unwanted trailing slash at the end of hbase_pid_dir path in > ams-hbase-env > - > > Key: AMBARI-23415 > URL: https://issues.apache.org/jira/browse/AMBARI-23415 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: trunk, 2.7.0 >Reporter: JaySenSharma >Assignee: JaySenSharma >Priority: Major > Labels: pull-request-available > Fix For: 2.7.0 > > Time Spent: 1h > Remaining Estimate: 0h > > - While starting the AMS collector we can see that it has two slash in the > PID file path > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" > . Also > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-master.pid" > . which does not look good and seems error prone. It should be removed. > {code} > Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf > stop regionserver'] {'on_timeout': 'ls > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 > && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` > >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': > 30, 'user': 'ams'} > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (AMBARI-23415) Remove unwanted trailing slash at the end of hbase_pid_dir path in ams-hbase-env
[ https://issues.apache.org/jira/browse/AMBARI-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JaySenSharma updated AMBARI-23415: -- Status: Patch Available (was: In Progress) https://github.com/apache/ambari/pull/845 > Remove unwanted trailing slash at the end of hbase_pid_dir path in > ams-hbase-env > - > > Key: AMBARI-23415 > URL: https://issues.apache.org/jira/browse/AMBARI-23415 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: trunk, 2.7.0 >Reporter: JaySenSharma >Assignee: JaySenSharma >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > - While starting the AMS collector we can see that it has two slash in the > PID file path > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" > . Also > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-master.pid" > . which does not look good and seems error prone. It should be removed. > {code} > Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf > stop regionserver'] {'on_timeout': 'ls > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 > && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` > >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': > 30, 'user': 'ams'} > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (AMBARI-23415) Remove unwanted trailing slash at the end of hbase_pid_dir path in ams-hbase-env
[ https://issues.apache.org/jira/browse/AMBARI-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JaySenSharma updated AMBARI-23415: -- Description: - While starting the AMS collector we can see that it has two slash in the PID file path "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" . Also "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-master.pid" . which does not look good and seems error prone. It should be removed. {code} Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': 30, 'user': 'ams'} {code} was: - While starting the AMS collector we can see that it has two slash in the PID file path "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" . which does not look good and seems error prone. It should be removed. {code} Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': 30, 'user': 'ams'} {code} > Remove unwanted trailing slash at the end of hbase_pid_dir path in > ams-hbase-env > - > > Key: AMBARI-23415 > URL: https://issues.apache.org/jira/browse/AMBARI-23415 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: trunk, 2.7.0 >Reporter: JaySenSharma >Assignee: JaySenSharma >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > - While starting the AMS collector we can see that it has two slash in the > PID file path > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" > . Also > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-master.pid" > . which does not look good and seems error prone. It should be removed. > {code} > Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf > stop regionserver'] {'on_timeout': 'ls > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 > && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` > >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': > 30, 'user': 'ams'} > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (AMBARI-23415) Remove unwanted trailing slash at the end of hbase_pid_dir path in ams-hbase-env
[ https://issues.apache.org/jira/browse/AMBARI-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated AMBARI-23415: Labels: pull-request-available (was: ) > Remove unwanted trailing slash at the end of hbase_pid_dir path in > ams-hbase-env > - > > Key: AMBARI-23415 > URL: https://issues.apache.org/jira/browse/AMBARI-23415 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics >Affects Versions: trunk, 2.7.0 >Reporter: JaySenSharma >Assignee: JaySenSharma >Priority: Major > Labels: pull-request-available > > - While starting the AMS collector we can see that it has two slash in the > PID file path > "/var/run/ambari-metrics-collector{color:red}//{color}hbase-ams-regionserver.pid" > . which does not look good and seems error prone. It should be removed. > {code} > Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf > stop regionserver'] {'on_timeout': 'ls > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 > && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` > >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat > /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': > 30, 'user': 'ams'} > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)