[
https://issues.apache.org/jira/browse/HIVE-12958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu updated HIVE-12958:
----------------------------
Release Note:
We can follow
https://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty#Configuring_a_File_Server_with_XML
to make the xml configuration file to update the settings.
Here is an example:
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
"http://www.eclipse.org/jetty/configure.dtd">
<Configure id="FileServer" class="org.eclipse.jetty.server.Server">
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Set name="port">9999</Set>
<Set name="requestHeaderSize">65535</Set>
</New>
</Arg>
</Call>
</Configure>
was:We can follow
https://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty#Configuring_a_File_Server_with_XML
to make the xml configuration file to update the settings.
> Make embedded Jetty server more configurable
> --------------------------------------------
>
> Key: HIVE-12958
> URL: https://issues.apache.org/jira/browse/HIVE-12958
> Project: Hive
> Issue Type: Improvement
> Components: HCatalog
> Affects Versions: 2.1.0
> Reporter: Aihua Xu
> Assignee: Aihua Xu
> Attachments: HIVE-12958.1.patch, HIVE-12958.2.patch
>
>
> Currently you can't configure embedded jetty within HCatalog. Propose to
> support add an xml configuration which Jetty already supports. A new Web-hcat
> configuration will be added to specify the configure file location. If the
> file doesn't exist, falls back to old behavior. If it exists, load such
> configuration to configure Jetty server.
> Some default parameters may not be sufficient such as request/response buffer
> size. This improvement allows to make such configuration change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)