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

whole-file-source has several issues

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 5.0.0
    • Component/s: Pipeline Plugins
    • Labels:
      None
    • Release Notes:
      Fixed a class loading issue and a schema mismatch issue in the whole-file-ingest plugin.
    • Rank:
      1|i00cc7:

      Description

      Following issues:

      • it bundles all its dependent jars because it does not declare them as provided, including the CDAP and Hadoop dependencies. This leads to class loading errors when the versions don't match
      • It uses the wrong import for @Nullable
      • It declares a type of String for the group, but emits a long value. This leads to pipeline errors (schema mismatch)
      • it declares a type of Integer for the permissions, but emits a short value. Also causes schema mismatch errors at runtime

       

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: