Member since
09-26-2016
74
Posts
4
Kudos Received
6
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2241 | 08-06-2018 06:55 PM | |
1451 | 12-21-2017 04:28 PM | |
1317 | 11-03-2017 05:07 PM | |
2369 | 03-20-2017 03:37 PM | |
6168 | 03-06-2017 03:54 PM |
03-22-2017
02:05 PM
Hi, Your example is showing an error: "Unable to resolve class ProcessorLog" I did a direct import of your template.
... View more
03-21-2017
08:51 PM
Hi thanks for the response, I'm Trying to use this inside the custom processor script, but it is not showing up as a required parameter in InvokeScriptedProcessor. I currently have this in "script body", along with the rest of the class. def password = new PropertyDescriptor.Builder()
.name('Password')
.description("Password used to connect")
.required(true)
.sensitive(true)
.build()
... View more
03-21-2017
08:20 PM
Thank you, this is exactly the type of workaround I was looking for!
... View more
03-21-2017
07:51 PM
I'm trying to add in a password field to an execute script processor, how do I make this field "sensitive"?
... View more
Labels:
- Labels:
-
Apache NiFi
03-20-2017
05:08 PM
Bump for any other possible solutions?
... View more
03-20-2017
03:37 PM
Ok here is the solution: I modified the /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/bin/encrypt-config.sh Added the line: echo "The place it is looking is: ${CLASSPATH}"
The place it is looking is: /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/lib/*
Now I updated the permissions on the lib folder and contents, everything works now!
... View more
03-15-2017
07:01 PM
Hi, I'm working on creating a flow like this: 1st processor does work and goes into a funnel 2nd processor does work and routes to same funnel Final processor needs to check for both before continuing. How do I accomplish this? NOTE: I do not need the actual file flows, they are only used as trigger files. Thanks!
... View more
Labels:
- Labels:
-
Apache NiFi
03-08-2017
07:50 PM
Thanks, I don't understand why NiFi wouldn't have a default login page for an admin user. It seems strange that no user login is required on http and can only be done via https. Every other HDP component has at least a basic UI login.
... View more
03-06-2017
03:54 PM
Ok here is the solution: I modified the /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/bin/encrypt-config.sh Added the line: echo "The place it is looking is: ${CLASSPATH}" The place it is looking is: /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/lib/*
Now I updated the permissions on the lib folder and contents, everything works now!
... View more
03-06-2017
02:44 PM
Ok, so if i run the command as root it works: /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/bin/encrypt-config.sh -v -b /usr/hdf/current/nifi/conf/bootstrap.conf -n /usr/hdf/current/nifi/conf/nifi.properties -f /var/lib/nifi/conf/flow.xml.gz -s 'mypassword!' -p 'mypassword!' 2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: bootstrap.conf: /usr/hdf/current/nifi/conf/bootstrap.conf
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (src) nifi.properties: /usr/hdf/current/nifi/conf/nifi.properties
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (dest) nifi.properties: /usr/hdf/current/nifi/conf/nifi.properties
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (src) login-identity-providers.xml: null
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (dest) login-identity-providers.xml: null
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (src) flow.xml.gz: /var/lib/nifi/conf/flow.xml.gz
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: (dest) flow.xml.gz: /var/lib/nifi/conf/flow.xml.gz
2017/03/06 09:41:57 INFO [main] org.apache.nifi.properties.NiFiPropertiesLoader: Loaded 116 properties from /usr/hdf/current/nifi/conf/nifi.properties
2017/03/06 09:41:58 INFO [main] org.apache.nifi.properties.NiFiPropertiesLoader: Loaded 116 properties from /usr/hdf/current/nifi/conf/nifi.properties
2017/03/06 09:41:58 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: Loaded NiFiProperties instance with 116 properties
2017/03/06 09:41:59 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: Decrypted and re-encrypted 46 elements for flow.xml.gz
2017/03/06 09:41:59 INFO [main] org.apache.nifi.properties.AESSensitivePropertyProvider: AES Sensitive Property Provider encrypted a sensitive value successfully
2017/03/06 09:41:59 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: Protected nifi.sensitive.props.key with aes/gcm/256 -> FIQj+sLpEsqpQ8ON||Ph3aRfC5g6cVXoBap6a7okZ0rsIcOT4DzepNTA
2017/03/06 09:41:59 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: Updated protection key nifi.sensitive.props.key.protected
2017/03/06 09:41:59 INFO [main] org.apache.nifi.properties.ConfigEncryptionTool: Final result: 117 keys including 1 protected keys When I run it as Nifi: Error: Could not find or load main class org.apache.nifi.properties.ConfigEncryptionTool
... View more