com.google.protobuf.InvalidProtocolBufferException: Protocol message > contained an invalid tag (zero).

samza-dev | Yi Pan | 1 year 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

    Re: hello-samza doesn't run on CDH5.4

    samza-dev | 1 year ago | Yi Pan
    com.google.protobuf.InvalidProtocolBufferException: Protocol message > contained an invalid tag (zero).
  2. 0

    InvalidProtocolBufferException when parsing protobuf - invalid tag (zero)

    Stack Overflow | 3 years ago | Krish
    com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
  3. 0

    InvalidProtocolBufferException on attempt to write data to HCatalog (outside MapReduce)

    Stack Overflow | 3 years ago | Sethiel
    java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).; Host Details : local host is: "<censored>"; destination host is: "<censored>":8020;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Protobuf issue

    Google Groups | 2 years ago | bernd
    com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
  6. 0

    InvalidProtocolBufferException when trying to write to HDFS

    Stack Overflow | 3 years ago | msknapp
    java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).; Host Details : local host is: "localhost.localdomain/127.0.0.1"; destination host is: "localhost":8020;
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.google.protobuf.InvalidProtocolBufferException

    Protocol message > contained an invalid tag (zero).

    at com.google.protobuf.InvalidProtocolBufferException.invalidTag()
  2. Protocol Buffer Java API
    CodedInputStream.readTag
    1. com.google.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:89)
    2. com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:108)
    2 frames
  3. hadoop-yarn-api
    YarnSecurityTokenProtos$AMRMTokenIdentifierProto$1.parsePartialFrom
    1. org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos$AMRMTokenIdentifierProto.<init>(YarnSecurityTokenProtos.java:1078)
    2. org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos$AMRMTokenIdentifierProto.<init>(YarnSecurityTokenProtos.java:1042)
    3. org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos$AMRMTokenIdentifierProto$1.parsePartialFrom(YarnSecurityTokenProtos.java:1138)
    4. org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos$AMRMTokenIdentifierProto$1.parsePartialFrom(YarnSecurityTokenProtos.java:1133)
    4 frames
  4. Protocol Buffer Java API
    AbstractParser.parseFrom
    1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200)
    2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:217)
    3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:223)
    4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
    4 frames
  5. hadoop-yarn-api
    YarnSecurityTokenProtos$AMRMTokenIdentifierProto.parseFrom
    1. org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos$AMRMTokenIdentifierProto.parseFrom(YarnSecurityTokenProtos.java:1307)
    1 frame
  6. hadoop-yarn-common
    AMRMTokenIdentifier.readFields
    1. org.apache.hadoop.yarn.security.AMRMTokenIdentifier.readFields(AMRMTokenIdentifier.java:81)
    1 frame
  7. Hadoop
    Token.decodeIdentifier
    1. org.apache.hadoop.security.token.Token.decodeIdentifier(Token.java:142)
    1 frame
  8. org.apache.samza
    ContainerAllocator.run
    1. org.apache.samza.job.yarn.ContainerUtil.startContainer(ContainerUtil.java:181)
    2. org.apache.samza.job.yarn.ContainerUtil.runContainer(ContainerUtil.java:119)
    3. org.apache.samza.job.yarn.ContainerAllocator.run(ContainerAllocator.java:65)
    3 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame