[jira] [Commented] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-21 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480272#comment-17480272
 ] 

Saurabh B commented on NIFI-9527:
-

This issue is not observed on upgrade 1.14.0 -> 1.15.3. I did not try upgrade 
to 1.15.2, let me know if you want me to try.

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Comment Edited] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-12 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475053#comment-17475053
 ] 

Saurabh B edited comment on NIFI-9527 at 1/13/22, 2:16 AM:
---

[~mattyb149] - I saw this behavior in 1.15.0 and 1.15.2. I have tested new jar 
release, which worked, however applied the below fix in bootstrap.conf (as 
found -> 
[https://community.cloudera.com/t5/Community-Articles/NiFi-org-xerial-snappy-SnappyError/ta-p/248734])

java.arg.snappy=-Dorg.xerial.snappy.tempdir=/path_to_nifi_home/tmp

 

No change was done to the user which starts NiFi or the permission of the Java 
temp folder.

 

The issue was observed in a new install of NiFi 1.15.x and upgrade from 1.12.1. 
Next week I plan to upgrade 1.14.0 -> 1.15.2 and will update my findings 
(1.14.0 was upgraded from 1.13.x without this issue with the same java version).


was (Author: JIRAUSER282969):
[~mattyb149] - I saw this behavior in 1.15.0 and 1.15.2. I have tested new jar 
release, which worked, however applied the below fix in bootstrap.conf (as 
found -> 
[https://community.cloudera.com/t5/Community-Articles/NiFi-org-xerial-snappy-SnappyError/ta-p/248734])

java.arg.snappy=-Dorg.xerial.snappy.tempdir=/usr/hdf/current/nifi/tmp

 

No change was done to the user which starts NiFi or the permission of the Java 
temp folder.

 

The issue was observed in a new install of NiFi 1.15.x and upgrade from 1.12.1. 
Next week I plan to upgrade 1.14.0 -> 1.15.2 and will update my findings 
(1.14.0 was upgraded from 1.13.x without this issue with the same java version).

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Comment Edited] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-12 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475053#comment-17475053
 ] 

Saurabh B edited comment on NIFI-9527 at 1/13/22, 2:13 AM:
---

[~mattyb149] - I saw this behavior in 1.15.0 and 1.15.2. I have tested new jar 
release, which worked, however applied the below fix in bootstrap.conf (as 
found -> 
[https://community.cloudera.com/t5/Community-Articles/NiFi-org-xerial-snappy-SnappyError/ta-p/248734])

java.arg.snappy=-Dorg.xerial.snappy.tempdir=/usr/hdf/current/nifi/tmp

 

No change was done to the user which starts NiFi or the permission of the Java 
temp folder.

 

The issue was observed in a new install of NiFi 1.15.x and upgrade from 1.12.1. 
Next week I plan to upgrade 1.14.0 -> 1.15.2 and will update my findings 
(1.14.0 was upgraded from 1.13.x without this issue with the same java version).


was (Author: JIRAUSER282969):
[~mattyb149] - I saw this behavior in 1.15.0 and 1.15.2. I have tested new jar 
release, which worked, however applied the below fix in bootstrap.conf (as 
found -> 
https://community.cloudera.com/t5/Community-Articles/NiFi-org-xerial-snappy-SnappyError/ta-p/248734)

java.arg.snappy=-Dorg.xerial.snappy.tempdir=/usr/hdf/current/nifi/tmp

 

No change was done to which starts NiFi or the permission of the Java temp 
folder.

 

The issue was observed in a new install of NiFi 1.15.x and upgrade from 1.12.1. 
Next week I plan to upgrade 1.14.0 -> 1.15.2 and will update my findings 
(1.14.0 was upgraded from 1.13.x without this issue with the same java version).

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Comment Edited] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-12 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475050#comment-17475050
 ] 

Saurabh B edited comment on NIFI-9527 at 1/13/22, 2:12 AM:
---

[~joewitt]  - The java version is

$ java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode)


was (Author: JIRAUSER282969):
The java version is

$ java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode)

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-12 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475053#comment-17475053
 ] 

Saurabh B commented on NIFI-9527:
-

[~mattyb149] - I saw this behavior in 1.15.0 and 1.15.2. I have tested new jar 
release, which worked, however applied the below fix in bootstrap.conf (as 
found -> 
https://community.cloudera.com/t5/Community-Articles/NiFi-org-xerial-snappy-SnappyError/ta-p/248734)

java.arg.snappy=-Dorg.xerial.snappy.tempdir=/usr/hdf/current/nifi/tmp

 

No change was done to which starts NiFi or the permission of the Java temp 
folder.

 

The issue was observed in a new install of NiFi 1.15.x and upgrade from 1.12.1. 
Next week I plan to upgrade 1.14.0 -> 1.15.2 and will update my findings 
(1.14.0 was upgraded from 1.13.x without this issue with the same java version).

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-12 Thread Saurabh B (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475050#comment-17475050
 ] 

Saurabh B commented on NIFI-9527:
-

The java version is

$ java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode)

> nifi-hive-nar fails to load because of the old snappy-java jar
> --
>
> Key: NIFI-9527
> URL: https://issues.apache.org/jira/browse/NIFI-9527
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.15.0, 1.15.2
> Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
> 16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Saurabh B
>Priority: Minor
>
> nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) 
> which fails to load. New version of snappy-java-1.1.8.4.jar works.
>  
> {{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
> NiFi}}
> {{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
> {{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
> {{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
> {{        at 
> org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
> {{        at java.base/java.lang.Class.forName0(Native Method)}}
> {{        at java.base/java.lang.Class.forName(Class.java:398)}}
> {{        at 
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
> {{        at 
> org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
> {{        at 
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
> {{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
> {{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (NIFI-9527) nifi-hive-nar fails to load because of the old snappy-java jar

2022-01-03 Thread Saurabh B (Jira)
Saurabh B created NIFI-9527:
---

 Summary: nifi-hive-nar fails to load because of the old 
snappy-java jar
 Key: NIFI-9527
 URL: https://issues.apache.org/jira/browse/NIFI-9527
 Project: Apache NiFi
  Issue Type: Bug
  Components: Extensions
Affects Versions: 1.15.0, 1.15.2
 Environment: Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 9 
16:09:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Saurabh B


nifi-hive-nar has old version of snappy-java jar (snappy-java-1.0.5.jar) which 
fails to load. New version of snappy-java-1.1.8.4.jar works.

 

{{2022-01-03 12:11:19,126 ERROR [main] org.apache.nifi.NiFi Failure to launch 
NiFi}}
{{org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null}}
{{        at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)}}
{{        at org.xerial.snappy.Snappy.(Snappy.java:48)}}
{{        at 
org.apache.nifi.processors.hive.PutHiveStreaming.(PutHiveStreaming.java:158)}}
{{        at java.base/java.lang.Class.forName0(Native Method)}}
{{        at java.base/java.lang.Class.forName(Class.java:398)}}
{{        at 
org.apache.nifi.nar.StandardExtensionDiscoveringManager.getClass(StandardExtensionDiscoveringManager.java:330)}}
{{        at 
org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:100)}}
{{        at 
org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65)}}
{{        at 
org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139)}}
{{        at org.apache.nifi.NiFi.(NiFi.java:170)}}
{{        at org.apache.nifi.NiFi.(NiFi.java:82)}}
{{        at org.apache.nifi.NiFi.main(NiFi.java:330)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)