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

Error when start nifi after installation from rpm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • Tools and Build
    • None
    • Centos 7

    Description

      1. Build nifi-assembly with profile rpm (mvn clean install -DskipTests -Prpm)
      2. Install created rpm on server
      3. Run NiFi

      Error:
      [username@srv-2162219 bin]# ./nifi.sh start
      ./nifi.sh: line 24: ./nifi-env.sh: No such file or directory

      If copy this file from build manually, we got the next error in nifi-app.log:
      2016-09-23 11:42:57,482 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 117 properties from /opt/nifi/nifi-1.1.0-SNAPSHOT/./conf/nifi.properties
      2016-09-23 11:42:57,502 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
      java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
      at org.apache.nifi.properties.ProtectedNiFiProperties.getProtectedPropertyKeys(ProtectedNiFiProperties.java:222) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
      at org.apache.nifi.properties.ProtectedNiFiProperties.<init>(ProtectedNiFiProperties.java:66) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]
      at org.apache.nifi.properties.ProtectedNiFiProperties.<init>(ProtectedNiFiProperties.java:75) ~[nifi-properties-loader-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]

      Attachments

        Issue Links

          Activity

            People

              trixpan Andre F de Miranda
              fidget83 Artem Yermakov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: