Andy,

I’ve never done this before. I hope I did it right.

https://gist.github.com/cissmjg/544be6c1e1f571bd97177a55eb088c1a

I attempted to build NiFi with the ‘default’ mvn commands from the QuickStart 
page. If you need me to build with other options, please let me know.

Thanks,
Mike G.

From: Andy LoPresto [mailto:alopre...@apache.org]
Sent: Tuesday, October 18, 2016 3:08 PM
To: users@nifi.apache.org
Subject: Re: Build failure under CentOS 6.7

Michael,

Just to help us close this out, could you please provide the full output of the 
Maven build as a GitHub Gist [1]? I understand it’s too long to put in the 
email body, but the full output should help us contextualize the error and 
hopefully solve this and prevent other users from encountering it. Thanks.

[1] https://gist.github.com/

Andy LoPresto
alopre...@apache.org<mailto:alopre...@apache.org>
alopresto.apa...@gmail.com<mailto:alopresto.apa...@gmail.com>
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

On Oct 18, 2016, at 9:17 AM, Giordano, Michael 
<michael.giord...@vistronix.com<mailto:michael.giord...@vistronix.com>> wrote:

Russell,

Thank you for the pointer …. much easier ☺

Mike G.

From: Russell Bateman [mailto:russell.bate...@perfectsearchcorp.com]
Sent: Tuesday, October 18, 2016 11:32 AM
To: users@nifi.apache.org<mailto:users@nifi.apache.org>
Subject: Re: Build failure under CentOS 6.7

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