hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <>
Subject [jira] [Commented] (HIVE-12958) Make embedded Jetty server more configurable
Date Fri, 29 Jan 2016 15:19:39 GMT


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.

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "">

<Configure id="FileServer" class="org.eclipse.jetty.server.Server">
    <Call name="addConnector">
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="port">9999</Set>
            <Set name="requestHeaderSize">65535</Set>

> Make embedded Jetty server more configurable
> --------------------------------------------
>                 Key: HIVE-12958
>                 URL:
>             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

View raw message