[jira] [Updated] (NIFI-6557) Build on master fails for Java 11 builds due RocksDB JNI Issues

2019-08-15 Thread Joseph Witt (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-6557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-6557:
--
Fix Version/s: (was: 1.10.0)

> Build on master fails for Java 11 builds due RocksDB JNI Issues
> ---
>
> Key: NIFI-6557
> URL: https://issues.apache.org/jira/browse/NIFI-6557
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Joseph Witt
>Priority: Minor
>  Labels: Java11
>
> [~jtstorck] recently got the Java 11 build for NiFi working and it was merged.
> [~devriesb] recently got the RocksDB flowfile impl commited.  However, it 
> doesn't appear to work on Java 11 builds.
> This needs to be resolved as we need Java 11 builds to work going forward.
> Can you two please coordinate and resolve.
> [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 
> 1.004 s <<< FAILURE! - in org.apache.nifi.rocksdb.TestRocksDBMetronome
> [ERROR] testColumnFamilies(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.54 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: 
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  
> dlopen(/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib,
>  1): no suitable image found.  Did find:
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  code signature in 
> (/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib)
>  not valid for use in process using Library Validation: mapped file has no 
> cdhash, completely unsigned? Code has to be at least ad-hoc signed.
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  stat() failed with errno=38
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testColumnFamilies(TestRocksDBMetronome.java:163)
> [ERROR] testWaitForSync(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.004 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSync(TestRocksDBMetronome.java:260)
> [ERROR] 
> testWaitForSyncWithValue(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSyncWithValue(TestRocksDBMetronome.java:291)
> [ERROR] testCounterIncrement(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testCounterIncrement(TestRocksDBMetronome.java:241)
> [ERROR] testPutGetDelete(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetDelete(TestRocksDBMetronome.java:98)
> [ERROR] testPutClosed(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutClosed(TestRocksDBMetronome.java:148)
> [ERROR] testPutGetConfiguration(org.apache.nifi.rocksdb.TestRocksDBMetronome) 
>  Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetConfiguration(TestRocksDBMetronome.java:122)
> [ERROR] testPutBeforeInit(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.04 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutBeforeInit(TestRocksDBMetronome.java:138)
> [ERROR] testIterator(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testIterator(TestRocksDBMetronome.java:214)
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
> nifi-druid-controller-service-api ---
> [INFO] Deleting 
> /Users/jwitt/development/nifi.git/nifi-nar-bundles/nifi-druid-bundle/nifi-druid-controller-service-api/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ 
> 

[jira] [Updated] (NIFI-6557) Build on master fails for Java 11 builds due RocksDB JNI Issues

2019-08-15 Thread Joseph Witt (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-6557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-6557:
--
Priority: Minor  (was: Blocker)

> Build on master fails for Java 11 builds due RocksDB JNI Issues
> ---
>
> Key: NIFI-6557
> URL: https://issues.apache.org/jira/browse/NIFI-6557
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Joseph Witt
>Priority: Minor
>  Labels: Java11
> Fix For: 1.10.0
>
>
> [~jtstorck] recently got the Java 11 build for NiFi working and it was merged.
> [~devriesb] recently got the RocksDB flowfile impl commited.  However, it 
> doesn't appear to work on Java 11 builds.
> This needs to be resolved as we need Java 11 builds to work going forward.
> Can you two please coordinate and resolve.
> [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 
> 1.004 s <<< FAILURE! - in org.apache.nifi.rocksdb.TestRocksDBMetronome
> [ERROR] testColumnFamilies(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.54 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: 
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  
> dlopen(/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib,
>  1): no suitable image found.  Did find:
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  code signature in 
> (/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib)
>  not valid for use in process using Library Validation: mapped file has no 
> cdhash, completely unsigned? Code has to be at least ad-hoc signed.
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  stat() failed with errno=38
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testColumnFamilies(TestRocksDBMetronome.java:163)
> [ERROR] testWaitForSync(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.004 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSync(TestRocksDBMetronome.java:260)
> [ERROR] 
> testWaitForSyncWithValue(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSyncWithValue(TestRocksDBMetronome.java:291)
> [ERROR] testCounterIncrement(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testCounterIncrement(TestRocksDBMetronome.java:241)
> [ERROR] testPutGetDelete(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetDelete(TestRocksDBMetronome.java:98)
> [ERROR] testPutClosed(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutClosed(TestRocksDBMetronome.java:148)
> [ERROR] testPutGetConfiguration(org.apache.nifi.rocksdb.TestRocksDBMetronome) 
>  Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetConfiguration(TestRocksDBMetronome.java:122)
> [ERROR] testPutBeforeInit(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.04 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutBeforeInit(TestRocksDBMetronome.java:138)
> [ERROR] testIterator(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testIterator(TestRocksDBMetronome.java:214)
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
> nifi-druid-controller-service-api ---
> [INFO] Deleting 
> /Users/jwitt/development/nifi.git/nifi-nar-bundles/nifi-druid-bundle/nifi-druid-controller-service-api/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ 
> 

[jira] [Updated] (NIFI-6557) Build on master fails for Java 11 builds due RocksDB JNI Issues

2019-08-15 Thread Jeff Storck (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-6557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Storck updated NIFI-6557:
--
Labels: Java11  (was: )

> Build on master fails for Java 11 builds due RocksDB JNI Issues
> ---
>
> Key: NIFI-6557
> URL: https://issues.apache.org/jira/browse/NIFI-6557
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Joseph Witt
>Priority: Blocker
>  Labels: Java11
> Fix For: 1.10.0
>
>
> [~jtstorck] recently got the Java 11 build for NiFi working and it was merged.
> [~devriesb] recently got the RocksDB flowfile impl commited.  However, it 
> doesn't appear to work on Java 11 builds.
> This needs to be resolved as we need Java 11 builds to work going forward.
> Can you two please coordinate and resolve.
> [ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 
> 1.004 s <<< FAILURE! - in org.apache.nifi.rocksdb.TestRocksDBMetronome
> [ERROR] testColumnFamilies(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.54 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: 
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  
> dlopen(/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib,
>  1): no suitable image found.  Did find:
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  code signature in 
> (/private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib)
>  not valid for use in process using Library Validation: mapped file has no 
> cdhash, completely unsigned? Code has to be at least ad-hoc signed.
>   
> /private/var/folders/16/93g5x2rn1bz04szc2t62xcrmgp/T/librocksdbjni6839704530639209130.jnilib:
>  stat() failed with errno=38
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testColumnFamilies(TestRocksDBMetronome.java:163)
> [ERROR] testWaitForSync(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.004 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSync(TestRocksDBMetronome.java:260)
> [ERROR] 
> testWaitForSyncWithValue(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testWaitForSyncWithValue(TestRocksDBMetronome.java:291)
> [ERROR] testCounterIncrement(org.apache.nifi.rocksdb.TestRocksDBMetronome)  
> Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testCounterIncrement(TestRocksDBMetronome.java:241)
> [ERROR] testPutGetDelete(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetDelete(TestRocksDBMetronome.java:98)
> [ERROR] testPutClosed(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.002 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutClosed(TestRocksDBMetronome.java:148)
> [ERROR] testPutGetConfiguration(org.apache.nifi.rocksdb.TestRocksDBMetronome) 
>  Time elapsed: 0.002 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutGetConfiguration(TestRocksDBMetronome.java:122)
> [ERROR] testPutBeforeInit(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.04 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected but 
> was
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testPutBeforeInit(TestRocksDBMetronome.java:138)
> [ERROR] testIterator(org.apache.nifi.rocksdb.TestRocksDBMetronome)  Time 
> elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
>   at 
> org.apache.nifi.rocksdb.TestRocksDBMetronome.testIterator(TestRocksDBMetronome.java:214)
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
> nifi-druid-controller-service-api ---
> [INFO] Deleting 
> /Users/jwitt/development/nifi.git/nifi-nar-bundles/nifi-druid-bundle/nifi-druid-controller-service-api/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> nifi-druid-controller-service-api ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ 
>