org.apache.thrift.protocol.TProtocolException: Cannot write a TUnion with no set value!

github.com | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    eco-release-metadata/RELEASENOTES.1.2.0.md at master · aw-was-here/eco-release-metadata · GitHub

    github.com | 5 months ago
    org.apache.thrift.protocol.TProtocolException: Cannot write a TUnion with no set value!

    Root Cause Analysis

    1. org.apache.thrift.protocol.TProtocolException

      Cannot write a TUnion with no set value!

      at org.apache.thrift.TUnion$TUnionStandardScheme.write()
    2. Apache Thrift
      TUnion.write
      1. org.apache.thrift.TUnion$TUnionStandardScheme.write(TUnion.java:240)
      2. org.apache.thrift.TUnion$TUnionStandardScheme.write(TUnion.java:213)
      3. org.apache.thrift.TUnion.write(TUnion.java:152)
      3 frames
    3. org.apache.hive
      TCLIService$GetInfo_result.write
      1. org.apache.hive.service.cli.thrift.TGetInfoResp$TGetInfoRespStandardScheme.write(TGetInfoResp.java:456)
      2. org.apache.hive.service.cli.thrift.TGetInfoResp$TGetInfoRespStandardScheme.write(TGetInfoResp.java:406)
      3. org.apache.hive.service.cli.thrift.TGetInfoResp.write(TGetInfoResp.java:341)
      4. org.apache.hive.service.cli.thrift.TCLIService$GetInfo_result$GetInfo_resultStandardScheme.write(TCLIService.java:3754)
      5. org.apache.hive.service.cli.thrift.TCLIService$GetInfo_result$GetInfo_resultStandardScheme.write(TCLIService.java:3718)
      6. org.apache.hive.service.cli.thrift.TCLIService$GetInfo_result.write(TCLIService.java:3669)
      6 frames
    4. Apache Thrift
      TBaseProcessor.process
      1. org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53)
      2. org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
      2 frames
    5. org.apache.hive
      TSetIpAddressProcessor.process
      1. org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:55)
      1 frame
    6. Apache Thrift
      TThreadPoolServer$WorkerProcess.run
      1. org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames