Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11500

tpfs source should fail at deploy time if the data format inside that does not match

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pipelines
    • Labels:
    • Rank:
      1|i001f3:

      Description

      Now if user has a pipeline which writes to a tpfs parquet sink, and it tries to read it from tpfs avro source, the pipeline will fail with NullPointerExecption. This is because for parquet we emit record as KeyValue<NullWritable, GenericRecord>. But for avro we are expecting KeyValue<AvroKey<GenericRecord>, NullWritable>. So when we do key.getDatum, we will get NPE

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              yaojie Yaojie Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: