Member since
05-30-2018
1322
Posts
715
Kudos Received
148
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3366 | 08-20-2018 08:26 PM | |
1485 | 08-15-2018 01:59 PM | |
1886 | 08-13-2018 02:20 PM | |
3366 | 07-23-2018 04:37 PM | |
4076 | 07-19-2018 12:52 PM |
08-07-2018
08:33 PM
@Matt Clarke my properties file is owned by nifi user and the content is exactly as you posted but with my creds. However, on nifi it does not like the access key and secret key is empty and here is the properties in the processor: Again the creds are in the Credentials File so why it is asking me to input access key and secret key? those exists in credentials file.
... View more
08-07-2018
06:42 PM
I want to use the credential file in s3putfile so i don’t have to put access key and security key in the processor. However, when provide the path to my credentials file, NiFi complains the access key and security key are null. Isn’t that the entire point to have crendentials in a file instead of residing inside the processor. Feedback/help appreciated.
... View more
Labels:
- Labels:
-
Apache NiFi
08-07-2018
05:53 PM
I am creating a flow in NiFi to migrated to minifi. It is a simple flow (only 2 processors), pulling from weather api and send to s3. When I migrate the flow to minifi, s3putobject credentials (access key and secret key) will be wiped out. How do I apply my access key and secret key in minifi?
... View more
Labels:
- Labels:
-
Apache MiNiFi
-
Apache NiFi
08-07-2018
03:19 PM
3 Kudos
Using cloudbreak to launch HDF (specifically NiFi), an error may prevent launching an instance. In the logs (/usr/hdf/current/nifi/logs/nifi-app.log) the following error is produced: pache.nifi.processors.hive.PutHiveStreaming could not be instantiated
java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.hive.PutHiveStreaming could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:232)
at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
....
Caused by: org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:239)
....
This is generally caused by by snappy library extracting to /tmp (generally defined in java.io.tmpdir). To fix this, do one of the following
Grant nifi user access to /tmp
Create a tmp directory where nifi user has access. For example, create tmp directory /home/tmp
Then go into ambari and find parameter Template for bootstrap.conf
Scroll past all the java.arg.* arguments Add the following java.arg.snappy=-Dorg.xerial.snappy.tempdir=/usr/hdf/current/nifi/tmp
That's it!
... View more
07-26-2018
02:41 PM
After scanning the code here: https://github.com/hortonworks-spark/shc/tree/master/core/src/main/scala/org/apache/spark/sql/execution/datasources/hbase I don’t see any functionality to support HBase delete records. However, there is good example on how to delete HBase record using spark here: https://stackoverflow.com/questions/36183709/delete-hbase-cell-using-spark
... View more
07-23-2018
04:37 PM
I found the issue. Ambari alerts support JMX but only via HTTP. Having JMX alone does not allow for ambari alert to be created. Therefore, what I am trying to do is create ambari alert on kafka where jmx is available through jconsole connnection. However, those metrics are not expose via http and return json result. Basically, it can't be done unless JMX is exposed via HTTP
... View more
07-19-2018
12:52 PM
1 Kudo
You are experiencing sparks lazy execution. When you execute your code, nothing in spark has been executed. You need to cache post execution. For example, a easy way to fix/test this is to run a something against your DF... (ie select * from df). store the results in a another DF and cache it thereafter.
... View more
07-19-2018
12:48 PM
@Ilya Li Your question has been answered here by @mpayne: https://community.hortonworks.com/questions/55454/can-nifi-promise-each-of-the-flowfiles-can-be-proc.html
... View more
07-19-2018
04:53 AM
Not according to that Jira. It is well documented.
... View more
07-19-2018
04:17 AM
1 Kudo
@Prathamesh H Interesting question. This topic was proposed here: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=75977362 And default value seems to be implemented in Hive 3 https://issues.apache.org/jira/browse/HIVE-18726 Sunile
- When an "Answer" addresses/solves your question, please select "Accept" beneath that answer. This encourages user participation in this forum.
... View more