Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6468

HS2 & Metastore using SASL out of memory error when curl sends a get request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.13.0, 0.13.1, 0.14.0
    • 1.0.0
    • HiveServer2, Metastore
    • Centos 6.3, hive 12, hadoop-2.2

    Description

      We see an out of memory error when we run simple beeline calls.
      (The hive.server2.transport.mode is binary)

      curl localhost:10000

      Exception in thread "pool-2-thread-8" java.lang.OutOfMemoryError: Java heap space
      at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:181)
      at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
      at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
      at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
      at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
      at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:189)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)

      Attachments

        1. HIVE-6468.0.patch
          20 kB
          Vaibhav Gumashta
        2. HIVE-6468.1.patch.txt
          11 kB
          Navis Ryu
        3. HIVE-6468.2.patch.txt
          15 kB
          Navis Ryu
        4. HIVE-6468.3.patch
          27 kB
          Vaibhav Gumashta
        5. HIVE-6468.4.patch
          22 kB
          Vaibhav Gumashta
        6. HIVE-6468.5.patch
          22 kB
          Vaibhav Gumashta
        7. HIVE-6468.branch-0.14.patch
          23 kB
          Vaibhav Gumashta
        8. HIVE-6468.branch-0.14.patch
          22 kB
          Vaibhav Gumashta

        Issue Links

          Activity

            People

              navis Navis Ryu
              ashahab Abin Shahab
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: