You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Advith Nagappa <ad...@gmail.com> on 2019/02/27 09:41:46 UTC

Build Failures on compile from source - rel/nifi-1.7.1

Hello,

I am trying  to build Nifi from source and am using the github tag
rel/nifi-1.7.1.

on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
I have attached the errors for reference. nifi-hive-processors seems to be
the problem in my case.

Any advise on which branch/tag is safe to build from as-is?

Best Regards
Advith

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Mike Thomsen <mi...@gmail.com>.
As a rule of thumb, if you have Nexus setup in your organization and weird
stuff like this happens, it's a good bet that something got miscached by
Nexus.

On Wed, Feb 27, 2019 at 10:51 AM Advith Nagappa <ad...@gmail.com>
wrote:

> I was able to build it successfully, both from release tarball and
> rel/nifi-1.7.1 tag. I think  this was because of my maven  inhouse
> repository settings. Appreciate all the help..
>
> On Wed, Feb 27, 2019 at 1:39 PM Mike Thomsen <mi...@gmail.com>
> wrote:
>
>> Try the source release from nifi.apache.org in the off chance that there
>> is some slight difference between rel/nifi-1.7.1 and that. I was building
>> from our official release tarball.
>>
>> On Wed, Feb 27, 2019 at 7:12 AM Advith Nagappa <ad...@gmail.com>
>> wrote:
>>
>>> I just did that. Same issue again - nifi-hive-processors.
>>>
>>> On Wed, Feb 27, 2019 at 12:41 PM Mike Thomsen <mi...@gmail.com>
>>> wrote:
>>>
>>>> I just did a build of 1.7.1 from the official source release and didn't
>>>> run into that error. Try purging $HOME/.m2/repository because you might
>>>> have a broken download of some Hadoop dependencies.
>>>>
>>>> On Wed, Feb 27, 2019 at 6:08 AM Advith Nagappa <
>>>> advith.nagappa@gmail.com> wrote:
>>>>
>>>>> Attaching full build logs
>>>>>
>>>>>
>>>>> On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com>
>>>>> wrote:
>>>>>
>>>>>> That’s ok.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Could you attach the _*full*_ build log or at least the first error?
>>>>>>
>>>>>>
>>>>>>
>>>>>> The one you attached begins in the middle of the build and already
>>>>>> shows previous failures.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>>> *Date: *Wednesday, 27 February 2019 at 11:00
>>>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>>> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>>>>>>
>>>>>>
>>>>>>
>>>>>> ```
>>>>>> openjdk version "1.8.0_191"
>>>>>> OpenJDK Runtime Environment (build
>>>>>> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
>>>>>> ```
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>
>>>>>> wrote:
>>>>>>
>>>>>> What’s your Java version?
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>>> *Date: *Wednesday, 27 February 2019 at 10:42
>>>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>>> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am trying  to build Nifi from source and am using the github tag
>>>>>> rel/nifi-1.7.1.
>>>>>>
>>>>>>
>>>>>>
>>>>>> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>>>>>>
>>>>>> I have attached the errors for reference. nifi-hive-processors seems
>>>>>> to be the problem in my case.
>>>>>>
>>>>>> Any advise on which branch/tag is safe to build from as-is?
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Advith
>>>>>>
>>>>>>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Advith Nagappa <ad...@gmail.com>.
I was able to build it successfully, both from release tarball and
rel/nifi-1.7.1 tag. I think  this was because of my maven  inhouse
repository settings. Appreciate all the help..

On Wed, Feb 27, 2019 at 1:39 PM Mike Thomsen <mi...@gmail.com> wrote:

> Try the source release from nifi.apache.org in the off chance that there
> is some slight difference between rel/nifi-1.7.1 and that. I was building
> from our official release tarball.
>
> On Wed, Feb 27, 2019 at 7:12 AM Advith Nagappa <ad...@gmail.com>
> wrote:
>
>> I just did that. Same issue again - nifi-hive-processors.
>>
>> On Wed, Feb 27, 2019 at 12:41 PM Mike Thomsen <mi...@gmail.com>
>> wrote:
>>
>>> I just did a build of 1.7.1 from the official source release and didn't
>>> run into that error. Try purging $HOME/.m2/repository because you might
>>> have a broken download of some Hadoop dependencies.
>>>
>>> On Wed, Feb 27, 2019 at 6:08 AM Advith Nagappa <ad...@gmail.com>
>>> wrote:
>>>
>>>> Attaching full build logs
>>>>
>>>>
>>>> On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com>
>>>> wrote:
>>>>
>>>>> That’s ok.
>>>>>
>>>>>
>>>>>
>>>>> Could you attach the _*full*_ build log or at least the first error?
>>>>>
>>>>>
>>>>>
>>>>> The one you attached begins in the middle of the build and already
>>>>> shows previous failures.
>>>>>
>>>>>
>>>>>
>>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>> *Date: *Wednesday, 27 February 2019 at 11:00
>>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>>>>>
>>>>>
>>>>>
>>>>> ```
>>>>> openjdk version "1.8.0_191"
>>>>> OpenJDK Runtime Environment (build
>>>>> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
>>>>> ```
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>
>>>>> wrote:
>>>>>
>>>>> What’s your Java version?
>>>>>
>>>>>
>>>>>
>>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>> *Date: *Wednesday, 27 February 2019 at 10:42
>>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>>> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>>>>>
>>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am trying  to build Nifi from source and am using the github tag
>>>>> rel/nifi-1.7.1.
>>>>>
>>>>>
>>>>>
>>>>> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>>>>>
>>>>> I have attached the errors for reference. nifi-hive-processors seems
>>>>> to be the problem in my case.
>>>>>
>>>>> Any advise on which branch/tag is safe to build from as-is?
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Advith
>>>>>
>>>>>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Mike Thomsen <mi...@gmail.com>.
Try the source release from nifi.apache.org in the off chance that there is
some slight difference between rel/nifi-1.7.1 and that. I was building from
our official release tarball.

On Wed, Feb 27, 2019 at 7:12 AM Advith Nagappa <ad...@gmail.com>
wrote:

> I just did that. Same issue again - nifi-hive-processors.
>
> On Wed, Feb 27, 2019 at 12:41 PM Mike Thomsen <mi...@gmail.com>
> wrote:
>
>> I just did a build of 1.7.1 from the official source release and didn't
>> run into that error. Try purging $HOME/.m2/repository because you might
>> have a broken download of some Hadoop dependencies.
>>
>> On Wed, Feb 27, 2019 at 6:08 AM Advith Nagappa <ad...@gmail.com>
>> wrote:
>>
>>> Attaching full build logs
>>>
>>>
>>> On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com>
>>> wrote:
>>>
>>>> That’s ok.
>>>>
>>>>
>>>>
>>>> Could you attach the _*full*_ build log or at least the first error?
>>>>
>>>>
>>>>
>>>> The one you attached begins in the middle of the build and already
>>>> shows previous failures.
>>>>
>>>>
>>>>
>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>> *Date: *Wednesday, 27 February 2019 at 11:00
>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>>>>
>>>>
>>>>
>>>> ```
>>>> openjdk version "1.8.0_191"
>>>> OpenJDK Runtime Environment (build
>>>> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
>>>> ```
>>>>
>>>>
>>>>
>>>> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>
>>>> wrote:
>>>>
>>>> What’s your Java version?
>>>>
>>>>
>>>>
>>>> *From: *Advith Nagappa <ad...@gmail.com>
>>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>> *Date: *Wednesday, 27 February 2019 at 10:42
>>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>>> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>>>>
>>>>
>>>>
>>>> Hello,
>>>>
>>>> I am trying  to build Nifi from source and am using the github tag
>>>> rel/nifi-1.7.1.
>>>>
>>>>
>>>>
>>>> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>>>>
>>>> I have attached the errors for reference. nifi-hive-processors seems to
>>>> be the problem in my case.
>>>>
>>>> Any advise on which branch/tag is safe to build from as-is?
>>>>
>>>> Best Regards
>>>>
>>>> Advith
>>>>
>>>>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Advith Nagappa <ad...@gmail.com>.
I just did that. Same issue again - nifi-hive-processors.

On Wed, Feb 27, 2019 at 12:41 PM Mike Thomsen <mi...@gmail.com>
wrote:

> I just did a build of 1.7.1 from the official source release and didn't
> run into that error. Try purging $HOME/.m2/repository because you might
> have a broken download of some Hadoop dependencies.
>
> On Wed, Feb 27, 2019 at 6:08 AM Advith Nagappa <ad...@gmail.com>
> wrote:
>
>> Attaching full build logs
>>
>>
>> On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com>
>> wrote:
>>
>>> That’s ok.
>>>
>>>
>>>
>>> Could you attach the _*full*_ build log or at least the first error?
>>>
>>>
>>>
>>> The one you attached begins in the middle of the build and already shows
>>> previous failures.
>>>
>>>
>>>
>>> *From: *Advith Nagappa <ad...@gmail.com>
>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>> *Date: *Wednesday, 27 February 2019 at 11:00
>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>>>
>>>
>>>
>>> ```
>>> openjdk version "1.8.0_191"
>>> OpenJDK Runtime Environment (build
>>> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
>>> ```
>>>
>>>
>>>
>>> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>
>>> wrote:
>>>
>>> What’s your Java version?
>>>
>>>
>>>
>>> *From: *Advith Nagappa <ad...@gmail.com>
>>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>> *Date: *Wednesday, 27 February 2019 at 10:42
>>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>>> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>>>
>>>
>>>
>>> Hello,
>>>
>>> I am trying  to build Nifi from source and am using the github tag
>>> rel/nifi-1.7.1.
>>>
>>>
>>>
>>> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>>>
>>> I have attached the errors for reference. nifi-hive-processors seems to
>>> be the problem in my case.
>>>
>>> Any advise on which branch/tag is safe to build from as-is?
>>>
>>> Best Regards
>>>
>>> Advith
>>>
>>>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Mike Thomsen <mi...@gmail.com>.
I just did a build of 1.7.1 from the official source release and didn't run
into that error. Try purging $HOME/.m2/repository because you might have a
broken download of some Hadoop dependencies.

On Wed, Feb 27, 2019 at 6:08 AM Advith Nagappa <ad...@gmail.com>
wrote:

> Attaching full build logs
>
>
> On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com> wrote:
>
>> That’s ok.
>>
>>
>>
>> Could you attach the _*full*_ build log or at least the first error?
>>
>>
>>
>> The one you attached begins in the middle of the build and already shows
>> previous failures.
>>
>>
>>
>> *From: *Advith Nagappa <ad...@gmail.com>
>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>> *Date: *Wednesday, 27 February 2019 at 11:00
>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>>
>>
>>
>> ```
>> openjdk version "1.8.0_191"
>> OpenJDK Runtime Environment (build
>> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
>> ```
>>
>>
>>
>> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>
>> wrote:
>>
>> What’s your Java version?
>>
>>
>>
>> *From: *Advith Nagappa <ad...@gmail.com>
>> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>> *Date: *Wednesday, 27 February 2019 at 10:42
>> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
>> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>>
>>
>>
>> Hello,
>>
>> I am trying  to build Nifi from source and am using the github tag
>> rel/nifi-1.7.1.
>>
>>
>>
>> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>>
>> I have attached the errors for reference. nifi-hive-processors seems to
>> be the problem in my case.
>>
>> Any advise on which branch/tag is safe to build from as-is?
>>
>> Best Regards
>>
>> Advith
>>
>>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Advith Nagappa <ad...@gmail.com>.
Attaching full build logs


On Wed, Feb 27, 2019 at 11:01 AM Arpad Boda <ab...@hortonworks.com> wrote:

> That’s ok.
>
>
>
> Could you attach the _*full*_ build log or at least the first error?
>
>
>
> The one you attached begins in the middle of the build and already shows
> previous failures.
>
>
>
> *From: *Advith Nagappa <ad...@gmail.com>
> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Date: *Wednesday, 27 February 2019 at 11:00
> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Subject: *Re: Build Failures on compile from source - rel/nifi-1.7.1
>
>
>
> ```
> openjdk version "1.8.0_191"
> OpenJDK Runtime Environment (build
> 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
> ```
>
>
>
> On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com> wrote:
>
> What’s your Java version?
>
>
>
> *From: *Advith Nagappa <ad...@gmail.com>
> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Date: *Wednesday, 27 February 2019 at 10:42
> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>
>
>
> Hello,
>
> I am trying  to build Nifi from source and am using the github tag
> rel/nifi-1.7.1.
>
>
>
> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>
> I have attached the errors for reference. nifi-hive-processors seems to be
> the problem in my case.
>
> Any advise on which branch/tag is safe to build from as-is?
>
> Best Regards
>
> Advith
>
>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Arpad Boda <ab...@hortonworks.com>.
That’s ok.

Could you attach the _full_ build log or at least the first error?

The one you attached begins in the middle of the build and already shows previous failures.

From: Advith Nagappa <ad...@gmail.com>
Reply-To: "users@nifi.apache.org" <us...@nifi.apache.org>
Date: Wednesday, 27 February 2019 at 11:00
To: "users@nifi.apache.org" <us...@nifi.apache.org>
Subject: Re: Build Failures on compile from source - rel/nifi-1.7.1

```
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
```

On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com>> wrote:
What’s your Java version?

From: Advith Nagappa <ad...@gmail.com>>
Reply-To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Date: Wednesday, 27 February 2019 at 10:42
To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Subject: Build Failures on compile from source - rel/nifi-1.7.1

Hello,
I am trying  to build Nifi from source and am using the github tag rel/nifi-1.7.1.

on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
I have attached the errors for reference. nifi-hive-processors seems to be the problem in my case.
Any advise on which branch/tag is safe to build from as-is?
Best Regards
Advith

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Advith Nagappa <ad...@gmail.com>.
```
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
```

On Wed, Feb 27, 2019 at 10:50 AM Arpad Boda <ab...@hortonworks.com> wrote:

> What’s your Java version?
>
>
>
> *From: *Advith Nagappa <ad...@gmail.com>
> *Reply-To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Date: *Wednesday, 27 February 2019 at 10:42
> *To: *"users@nifi.apache.org" <us...@nifi.apache.org>
> *Subject: *Build Failures on compile from source - rel/nifi-1.7.1
>
>
>
> Hello,
>
> I am trying  to build Nifi from source and am using the github tag
> rel/nifi-1.7.1.
>
>
>
> on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
>
> I have attached the errors for reference. nifi-hive-processors seems to be
> the problem in my case.
>
> Any advise on which branch/tag is safe to build from as-is?
>
> Best Regards
>
> Advith
>

Re: Build Failures on compile from source - rel/nifi-1.7.1

Posted by Arpad Boda <ab...@hortonworks.com>.
What’s your Java version?

From: Advith Nagappa <ad...@gmail.com>
Reply-To: "users@nifi.apache.org" <us...@nifi.apache.org>
Date: Wednesday, 27 February 2019 at 10:42
To: "users@nifi.apache.org" <us...@nifi.apache.org>
Subject: Build Failures on compile from source - rel/nifi-1.7.1

Hello,
I am trying  to build Nifi from source and am using the github tag rel/nifi-1.7.1.

on doing: `mvn -T C2.0 clean install -Pinclude-grpc`
I have attached the errors for reference. nifi-hive-processors seems to be the problem in my case.
Any advise on which branch/tag is safe to build from as-is?
Best Regards
Advith