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

Add support for query timeout in Hive processors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Extensions
    • None

    Description

      With HIVE-4924 it is possible to set a query timeout when executing a query against Hive (starting with Hive 2.1). Right now, NiFi is built using Hive 1.2.1 and this feature is not available by default (the method is not implemented in the driver). However, if building NiFi with specific profiles this feature can be used.

      The objective is to expose the query timeout parameter in the processor and enable expression language. If the version of the driver is not implementing the query timeout the processor will be in invalid state (unless expression language is used, and in this case, the flow file will be routed to the failure relationship).

      Attachments

        1. Screen Shot 2017-09-09 at 6.40.48 PM.png
          68 kB
          Pierre Villard
        2. Screen Shot 2017-09-09 at 4.31.21 PM.png
          189 kB
          Pierre Villard
        3. Screen Shot 2017-09-09 at 6.38.51 PM.png
          285 kB
          Pierre Villard

        Activity

          People

            pvillard Pierre Villard
            pvillard Pierre Villard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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