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

KnoxLine Connection timesout too quickly with Hive

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: KnoxShell
    • Labels:
      None

      Description

      knoxline> select * from logs
      select * from logs
      +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
      | logs.column1 | logs.column2 | logs.column3 | logs.column4 | logs.column5 | logs.column6 | logs.column7 |
      +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
      | value1 | value2 | value3 | value4 | value5 | value6 | value7 |
      +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
      
      
      Rows: 1
      
      knoxline> 
      knoxline> show tables
      show tables
      SQL Exception encountered... org.apache.thrift.transport.TTransportException: org.apache.http.NoHttpResponseException: cdp-retail-1-3-dataeng-master0.cdp-reta.svbr-nqvp.int.cldr.work:443 failed to respond
      knoxline> show tables
      show tables
      +------------+
      | tab_name |
      +------------+
      | logs |
      +------------+
      
      
      Rows: 1
      
      knoxline>
      
      

      Retrying the query reestablishes the connection but we need to avoid that.

        Attachments

          Activity

            People

            • Assignee:
              lmccay Larry McCay
              Reporter:
              lmccay Larry McCay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: