Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12160

Check if all the necessary nars have been fully unpacked before starting Kafka Connector

    XMLWordPrintableJSON

Details

    Description

      Each deployed Stateless NiFi-based Kafka Connect connector has a directory under DEFAULT_WORKING_DIRECTORY (/tmp/nifi-stateless-working) where the necessary NARs are unpacked.

      If the job doing the unpacking is interrupted for some reason, the connector's directory will exist without having all the necessary files in it. In a case like this when the connector is started it detects the directory so it does not unpack the NARs again however the missing files cause various errors.

      Currently the solution is manual: the connector's directory needs to be deleted from /tmp/nifi-stateless-working and the connector needs to be redeployed.

      A fix should be created for this issue so that the system detects that unpacking hadn't been finished and does the unpacking properly before deployment.

      Attachments

        Issue Links

          Activity

            People

              pgyori Peter Gyori
              pgyori Peter Gyori
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m