[ https://issues.apache.org/jira/browse/HIVE-12958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123575#comment-15123575 ]
Aihua Xu commented on HIVE-12958: --------------------------------- Attach patch-2: this patch will take all the configuration from the configuration file including the port. I feel maybe this is less confusing. One sample configuration is as follows, which set the port to 9999 and change requestHeaderSize size of the connection. {noformat} <?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> {noformat} > 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)