Michael,

You don't have to build NiFi yourself to get going, you can just download pre-built "binaries". It's written in Java, so there are no platform gotchas at all:


https://nifi.apache.org/download.html


On 10/18/2016 07:36 AM, Giordano, Michael wrote:

I am currently following the NiFi QuickStart to get my first NiFi server up and running under CentOS 6.7. I am getting compile failures and I’m not sure why. I started from an empty directory as root (with full permissions) on a test machine with SELinux disabled.

# git clone https://github.com/apache/nifi.git

Initialized empty Git repository in /tmp/nifi/.git/

remote: Counting objects: 102987, done.

remote: Compressing objects: 100% (496/496), done.

remote: Total 102987 (delta 230), reused 0 (delta 0), pack-reused 102467

Receiving objects: 100% (102987/102987), 64.93 MiB | 10.24 MiB/s, done.

Resolving deltas: 100% (45888/45888), done.

# cd nifi

# git checkout master

# export MAVEN_OPTS="-Xms1024m -Xmx3076m -XX:MaxPermSize=256m"

# mvn -T C2.0 clean install

<snip>

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nifi-api: Compilation failure -> [Help 1]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nifi-logging-utils: Compilation failure -> [Help 1]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nifi-properties: Compilation failure -> [Help 1]

cat /etc/redhat-release

CentOS release 6.7 (Final)

# mvn -version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)

Maven home: /usr/local/apache-maven-3.3.9

Java version: 1.8.0_101, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "linux", version: "2.6.32-573.el6.x86_64", arch: "amd64", family: "unix"

Any help is deeply appreciated.

Thanks,

Mike G.

This communication, along with its attachments, is considered confidential and proprietary to Vistronix. It is intended only for the use of the person(s) named above. Note that unauthorized disclosure or distribution of information not generally known to the public is strictly prohibited. If you are not the intended recipient, please notify the sender immediately.


Reply via email to