hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-13597) Switch KMS from Tomcat to Jetty
Date Thu, 08 Dec 2016 22:27:58 GMT

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

John Zhuge edited comment on HADOOP-13597 at 12/8/16 10:27 PM:
---------------------------------------------------------------

However, do realize that the last {{elif}} condition can be omitted and changed to {{else}}:
{code}
  if [[ -z "${oldval}" ]]; then
    return
  elif [[ -z "${newvar}" ]]; then
    hadoop_error "WARNING: ${oldvar} has been deprecated."
  elif [[ -n "${oldval}" && -n "${newvar}" ]]; then
{code}



was (Author: jzhuge):
However, do realize that the following {{elif}} condition can be omitted and changed to {{else}}:
{code}
  elif [[ -n "${oldval}" && -n "${newvar}" ]]; then
{code}


> Switch KMS from Tomcat to Jetty
> -------------------------------
>
>                 Key: HADOOP-13597
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13597
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: kms
>    Affects Versions: 2.6.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>         Attachments: HADOOP-13597.001.patch, HADOOP-13597.002.patch, HADOOP-13597.003.patch
>
>
> The Tomcat 6 we are using will reach EOL at the end of 2017. While there are other good
options, I would propose switching to {{Jetty 9}} for the following reasons:
> * Easier migration. Both Tomcat and Jetty are based on {{Servlet Containers}}, so we
don't have change client code that much. It would require more work to switch to {{JAX-RS}}.
> * Well established.
> * Good performance and scalability.
> Other alternatives:
> * Jersey + Grizzly
> * Tomcat 8
> Your opinions will be greatly appreciated.



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

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


Mime
View raw message