Member since
05-30-2018
1322
Posts
715
Kudos Received
148
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4125 | 08-20-2018 08:26 PM | |
| 2000 | 08-15-2018 01:59 PM | |
| 2428 | 08-13-2018 02:20 PM | |
| 4225 | 07-23-2018 04:37 PM | |
| 5107 | 07-19-2018 12:52 PM |
03-18-2017
01:55 AM
perfect. thanks
... View more
03-14-2017
10:00 AM
2 Kudos
@Viswa
To check Namenode Safe mode status, Login to Namenode host and issue the below command, [user@NNhost1 ~]$ hdfs dfsadmin -safemode get
Safe mode is OFF in NNhost1/10.X.X.X:8020
Safe mode is OFF in NNhost2/10.X.X.X:8020
If Safe mode is turned ON, please issue the below command to leave from safemode.
[user@NNhost1 ~]$ hdfs dfsadmin -safemode leave
... View more
03-14-2017
06:33 PM
1 Kudo
Hi @Sunile Manjee, Since you are using NiFi to launch jobs, why don't you use NiFi itself to monitor it 😛 I tried to flex NiFi to monitor Yarn jobs by querying ResourceManager , and have documented it and my flow xml is attached in the comments. check it out. https://community.hortonworks.com/content/kbentry/42995/yarn-application-monitoring-with-nifi.html In the demo I used it to monitor Failed and Killed jobs only, you can change the query and ask for all the jobs say user smanjee submitted and alert you as soon as its completed/failed/killed. Thanks Jobin
... View more
03-20-2017
04:39 AM
Please see https://issues.apache.org/jira/browse/NIFI-3625.
... View more
03-13-2017
01:50 PM
2 Kudos
I believe that statement was referring specifically to the listing operation performed by ListFile, and not the overall state of the primary node. For example, if ListFile ran and listed files 1 and 2, and then the primary node changes and file 3 is available, it won't list files 1 and 2 again, it will start with 3, but if files 1 and 2 were in progress in the rest of the flow on the original primary node when it went down, they are stuck there until that node comes back up. The state tracking is done through the state management API which uses Zookeeper when clustered. I believe in this case it is using timestamps track the last time the processor ran and the timestamp of the most recent file it saw, and then looking for files newer than that on the next execution. Also keep in mind, this whole scenario only makes sense when listing a remote directory that all nodes in the NiFi cluster have access to, otherwise it doesn't make sense when listing a local directory that is only on one node.
... View more
03-13-2017
04:45 AM
Thank you sir,It worked.
... View more
02-15-2018
07:41 AM
Hi @spdvnz @Raj B , Can you let me know how were you able to grab the failures eventually? I've tried storing the bulletin board messages in hdfs using the REST API but the Json generated from there is very detailed and would require a lot of work before I can use it for monitoring purpose. Would like to know how you guys did it? Here is the link to the actual question https://community.hortonworks.com/questions/171150/monitoring-nifi-flow-file-failures-success-1.html
... View more
03-13-2017
04:43 PM
Yes, documentation planned to sync with HDP 2.6 GA release.
... View more
03-10-2017
06:02 PM
1 Kudo
Sunile and I troubleshot this issue further. The first thing we did is we enabled sun.security.krb5.debug=true, this can be done in bootstrap.conf, see this doc. What we found, nifi-bootstap.log, was: INFO [NiFi logging handler] org.apache.nifi.StdOut Found unsupported keytype (18) for smanjee@FIELD Keytype 18 is aes256-cts-hmac-sha1-96 (see this page), and was the cipher used when we created the keytab for the smanjee@FIELD user. We created a new keytab using the cipher des3-cbc-sha1, and this resolved the issue. Note: I am not recommending that weak ciphers be used in Production environments.
... View more
03-07-2017
05:38 PM
1 Kudo
@Sunile Manjee UUIDs are created when a template is add to the canvas. This allows users to instantiate the same template multiple times within a single NiFi. It also insures not conflict of UUID with other existing components already instantiated. There is no way for users to set the UUIDs of any component manually. The only way to maintain UUIDs between NiFi instances is to move the entire flow.xml.gz file from one NIFi to the next rather then using templates. Thanks, Matt
... View more