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

NiFi build fails in UTC+ time zones

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0, 1.16.2
    • None
    • None

    Description

      nifi-scripting-nar build fails when no user.timezone system property is specified (I'm in UTC+2) or a UTC+ timezone is specified (e.g. -Duser.timezone=Europe/Budapest or -Duser.timezone=Asia/Tokyo) for the maven build.

      [ERROR] Failed to execute goal org.apache.nifi:nifi-nar-maven-plugin:1.3.3:nar (default-nar) on project nifi-scripting-nar: Failed to create Extension Documentation: InvocationTargetException: java.lang.TypeNotPresentException: java.lang.TypeNotPresentException: Type org/python/core/PyObject not present: org.python.core.PyObject -> [Help 1]
       

      It works properly with -Duser.timezone=UTC or -Duser.timezone=America/New_York

      The culprit is NIFI-8533, though the root cause is not clear. Nevertheless, if I revert that commit, everything works fine in all time zones.

      Workaround: use -Duser.timezone=UTC

      Attachments

        Issue Links

          Activity

            People

              pgrey Paul Grey
              turcsanyip Peter Turcsanyi
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 0.5h
                  0.5h