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

github.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    [Cassandra-user] Cassandra 0.7-beta3 - IndexOutOfBoundsException when create column family - Grokbase

    grokbase.com | 1 year ago
    org.apache.thrift.protocol.TProtocolException: Required field 'why' was not present! Struct: InvalidRequestException(why:null) at org.apache.cassandra.thrift.InvalidRequestException.validate(InvalidRequestException.java:340) at org.apache.cassandra.thrift.InvalidRequestException.write(InvalidRequestException.java:309) at org.apache.cassandra.thrift.Cassandra$system_add_column_family_result.write(Cassandra.java:23401) at org.apache.cassandra.thrift.Cassandra$Processor$system_add_column_family.process(Cassandra.java:3415) at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2555) at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    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