[jira] [Updated] (HADOOP-14608) KMS JMX servlet path not backwards compatible

2017-07-05 Thread John Zhuge (JIRA)

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

John Zhuge updated HADOOP-14608:

Description: HADOOP-13597 switched KMS from Tomcat to Jetty. The 
implementation changed JMX path from /kms/jmx to /jmx, which is inline with 
other HttpServer2 based servlets.  (was: HADOOP-13597 switched KMS from Tomcat 
to Jetty. The implementation changed JMX path from /kms/jmx to /jmx, which is 
inline with other HttpServer2 based servlets.

If there is a desire for the same JMX path, please vote here.)

> KMS JMX servlet path not backwards compatible
> -
>
> Key: HADOOP-14608
> URL: https://issues.apache.org/jira/browse/HADOOP-14608
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: kms
>Affects Versions: 3.0.0-alpha2
>Reporter: John Zhuge
>Assignee: John Zhuge
>Priority: Minor
> Fix For: 3.0.0-beta1
>
> Attachments: HADOOP-14608.001.patch, HADOOP-14608.002.patch
>
>
> HADOOP-13597 switched KMS from Tomcat to Jetty. The implementation changed 
> JMX path from /kms/jmx to /jmx, which is inline with other HttpServer2 based 
> servlets.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-14608) KMS JMX servlet path not backwards compatible

2017-07-05 Thread John Zhuge (JIRA)

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

John Zhuge updated HADOOP-14608:

   Resolution: Fixed
Fix Version/s: 3.0.0-beta1
   Status: Resolved  (was: Patch Available)

Committed to trunk with checkstyle fix.

Thanks [~andrew.wang] for the review!

> KMS JMX servlet path not backwards compatible
> -
>
> Key: HADOOP-14608
> URL: https://issues.apache.org/jira/browse/HADOOP-14608
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: kms
>Affects Versions: 3.0.0-alpha2
>Reporter: John Zhuge
>Assignee: John Zhuge
>Priority: Minor
> Fix For: 3.0.0-beta1
>
> Attachments: HADOOP-14608.001.patch, HADOOP-14608.002.patch
>
>
> HADOOP-13597 switched KMS from Tomcat to Jetty. The implementation changed 
> JMX path from /kms/jmx to /jmx, which is inline with other HttpServer2 based 
> servlets.
> If there is a desire for the same JMX path, please vote here.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-14608) KMS JMX servlet path not backwards compatible

2017-06-30 Thread John Zhuge (JIRA)

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

John Zhuge updated HADOOP-14608:

Attachment: HADOOP-14608.002.patch

Thanks [~andrew.wang] for the review and suggestion.

Patch 002
* Call the new {{testJMXQuery}} in {{testStartStop}}, thus test JMX in these 4 
cases:
** TestKMS.testStartStopHttpPseudo: ssl false, kerberos false
** TestKMS.testStartStopHttpsPseudo: ssl true, kerberos false
** TestKMS.testStartStopHttpKerberos: ssl false, kerberos true
** TestKMS.testStartStopHttpsKerberos: ssl true, kerberos true

> KMS JMX servlet path not backwards compatible
> -
>
> Key: HADOOP-14608
> URL: https://issues.apache.org/jira/browse/HADOOP-14608
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: kms
>Affects Versions: 3.0.0-alpha2
>Reporter: John Zhuge
>Assignee: John Zhuge
>Priority: Minor
> Attachments: HADOOP-14608.001.patch, HADOOP-14608.002.patch
>
>
> HADOOP-13597 switched KMS from Tomcat to Jetty. The implementation changed 
> JMX path from /kms/jmx to /jmx, which is inline with other HttpServer2 based 
> servlets.
> If there is a desire for the same JMX path, please vote here.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-14608) KMS JMX servlet path not backwards compatible

2017-06-30 Thread John Zhuge (JIRA)

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

John Zhuge updated HADOOP-14608:

Attachment: HADOOP-14608.001.patch

Patch 001
* Add JMX server /kms/jmx to web.xml

Testing Done
* Verified JMX /kms/jmx and /jmx. They produced the same output except some 
changed metric values.
* [KMS sanity 
tests|https://github.com/jzhuge/hadoop-sanity-tests/tree/master/bats] including 
JMX /kms/jmx
{noformat}
✓ kms list key
 ✓ kms create key
 ✓ kms roll key
 ✓ kms delete key
 ✓ kms daemonlog
 ✓ kms servlet /kms/jmx
 ✓ kms servlet /jmx
 ✓ kms servlet /conf
 ✓ kms servlet /logLevel
 ✓ kms servlet /logs
 ✓ kms servlet /stacks
{noformat}


> KMS JMX servlet path not backwards compatible
> -
>
> Key: HADOOP-14608
> URL: https://issues.apache.org/jira/browse/HADOOP-14608
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: kms
>Affects Versions: 3.0.0-alpha2
>Reporter: John Zhuge
>Assignee: John Zhuge
>Priority: Minor
> Attachments: HADOOP-14608.001.patch
>
>
> HADOOP-13597 switched KMS from Tomcat to Jetty. The implementation changed 
> JMX path from /kms/jmx to /jmx, which is inline with other HttpServer2 based 
> servlets.
> If there is a desire for the same JMX path, please vote here.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-14608) KMS JMX servlet path not backwards compatible

2017-06-30 Thread John Zhuge (JIRA)

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

John Zhuge updated HADOOP-14608:

Status: Patch Available  (was: Open)

> KMS JMX servlet path not backwards compatible
> -
>
> Key: HADOOP-14608
> URL: https://issues.apache.org/jira/browse/HADOOP-14608
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: kms
>Affects Versions: 3.0.0-alpha2
>Reporter: John Zhuge
>Assignee: John Zhuge
>Priority: Minor
> Attachments: HADOOP-14608.001.patch
>
>
> HADOOP-13597 switched KMS from Tomcat to Jetty. The implementation changed 
> JMX path from /kms/jmx to /jmx, which is inline with other HttpServer2 based 
> servlets.
> If there is a desire for the same JMX path, please vote here.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org