Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-491

Increase default replay buffer size to 8K

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • Server
    • None

    Description

      Some users are running into issues with the default buffer size of 4K especially with Hive and queries generated by Tableau that use very long column aliases.

      2015-01-26 13:51:26,588 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(273)) - >> POST /cliservice?doAs=<user> HTTP/1.1
      2015-01-26 13:51:26,589 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Cookie: JSESSIONID=bgxw0wasjfp41n0p56o0f4vqi
      2015-01-26 13:51:26,590 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Accept: application/x-thrift
      2015-01-26 13:51:26,590 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Content-Type: application/x-thrift
      2015-01-26 13:51:26,591 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> User-Agent: Thrift/0.9.0 (C++/THttpClient)
      2015-01-26 13:51:26,592 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Cache-Control: no-cache
      2015-01-26 13:51:26,592 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Transfer-Encoding: chunked
      2015-01-26 13:51:26,593 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Host: hostname:10001
      2015-01-26 13:51:26,593 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276)) - >> Connection: Keep-Alive
      2015-01-26 13:51:26,599 DEBUG http.wire (Wire.java:wire(63)) - >> "546[\r][\n]"
      2015-01-26 13:51:26,600 DEBUG http.wire (Wire.java:wire(77)) - >> "696e67646567726565646179736e6f726d616c`, `C_77656174686572`.`since1julsnowfalli` AS `C_73696e6365426a756c736e6f7766616c6c69`, `C_77656174686572`.`since1julsnowfallm` AS `C_73696e6365426a756c736e6f7766616c6c6d`, `C_77656174686572`.`since1sepcoolingdegreedays` AS `C_73696e636542736570636f6f6c696e6764656772656564617973`, `C_77656174686572`.`since1sepcoolingdegreedaysnormal` AS `C_73696e636542736570636f6f6c696e67646567726565646179736e6f726d616c`, `C_77656174686572`.`since1sepheatingdegreedays` AS `C_73696e63654273657068656174696e6764656772656564617973`, `C_77656174686572`.`since1sepheatingdegreedaysnormal` AS `C_73696e63654273657068656174696e67646567726565646179736e6f726d616c`, `C_77656174686572`.`snow` AS `C_736e6f77`, `C_77656174686572`.`snowdepthi` AS `C_736e6f77646570746869`, `C_77656174686572`.`snowdepthm` AS `C_736e6f7764657074686d`, `C_77656174686572`.`snowfalli` AS `C_736e6f7766616c6c69`, `C_77656174686572`.`snowfallm` AS `C_736e6f7766616c6c6d`, `C_77656174686572`.`tgt_latitude` AS `C_7467745f6c61746974756465`, `C_77656174686572`.`tgt_location` AS `C_7467745f6c6f636174696f6e`, `C_77656174686572`.`tgt_longitude` AS `C_7467745f6c6f6e676974756465`, `C_77656174686572`.`thunder` AS `C_7468756e646572`, `C_77656174686572`.`tornado` AS `C_746f726e61646f` FROM `dev_wx_fnd`.`weather` `C_77656174686572` LIMIT 10000 [\r][0x0][0x3][0xb][0xb][0x0][0x0][0x0][0x0][0x2][0x0][0x4][0x1][0x0][0x0]"
      2015-01-26 13:51:26,601 DEBUG http.wire (Wire.java:wire(63)) - >> "[\r][\n]"
      2015-01-26 13:51:26,601 DEBUG http.wire (Wire.java:wire(63)) - >> "0[\r][\n]"
      2015-01-26 13:51:26,602 DEBUG http.wire (Wire.java:wire(63)) - >> "[\r][\n]"
      2015-01-26 13:51:26,605 DEBUG http.wire (Wire.java:wire(63)) - << "HTTP/1.1 401 Unauthorized[\r][\n]"
      2015-01-26 13:51:26,607 DEBUG http.wire (Wire.java:wire(63)) - << "WWW-Authenticate: Negotiate[\r][\n]"
      2015-01-26 13:51:26,608 DEBUG http.wire (Wire.java:wire(63)) - << "Content-Length: 69[\r][\n]"
      2015-01-26 13:51:26,609 DEBUG http.wire (Wire.java:wire(63)) - << "Server: Jetty(7.6.0.v20120127)[\r][\n]"
      2015-01-26 13:51:26,610 DEBUG http.wire (Wire.java:wire(63)) - << "[\r][\n]"
      2015-01-26 13:51:26,611 DEBUG conn.DefaultClientConnection (DefaultClientConnection.java:receiveResponseHeader(254)) - Receiving response: HTTP/1.1 401 Unauthorized
      2015-01-26 13:51:26,612 DEBUG http.headers (DefaultClientConnection.java:receiveResponseHeader(257)) - << HTTP/1.1 401 Unauthorized
      2015-01-26 13:51:26,613 DEBUG http.headers (DefaultClientConnection.java:receiveResponseHeader(260)) - << WWW-Authenticate: Negotiate
      2015-01-26 13:51:26,613 DEBUG http.headers (DefaultClientConnection.java:receiveResponseHeader(260)) - << Content-Length: 69
      2015-01-26 13:51:26,614 DEBUG http.headers (DefaultClientConnection.java:receiveResponseHeader(260)) - << Server: Jetty(7.6.0.v20120127)
      

      Attachments

        1. KNOX-491.patch
          5 kB
          Kevin Minder

        Activity

          People

            kminder Kevin Minder
            kminder Kevin Minder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: