Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17718 Hive on Spark Debugging Improvements
  3. HIVE-20280

JobResultSerializer uses wrong registration id in KyroMessageCodec

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Spark
    • None

    Description

      Inside KryoMessageCodec the code:

            Kryo kryo = new Kryo();
            int count = 0;
            for (Class<?> klass : messages) {
              kryo.register(klass, REG_ID_BASE + count);
              count++;
            }
            kryo.register(BaseProtocol.JobResult.class, new JobResultSerializer(), count);
      

      Uses the wrong registration id for the JobResultSerializer it should be REG_ID_BASE + count not count

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stakiar Sahil Takiar Assign to me
            stakiar Sahil Takiar

            Dates

              Created:
              Updated:

              Slack

                Issue deployment