Member since
04-22-2014
1218
Posts
342
Kudos Received
157
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 28534 | 03-03-2020 08:12 AM | |
| 18976 | 02-28-2020 10:43 AM | |
| 5251 | 11-12-2019 03:28 PM | |
| 7640 | 11-01-2019 09:01 AM | |
| 7362 | 08-12-2019 11:06 AM |
07-16-2019
11:42 AM
1 Kudo
@Nick, Thanks for the log. Unfortunately, it does not contain information regarding the stop or start activity that might have led to this condition. Currently, the supervisor and agent seem to be in an "invalid" state that is not handled by the agent code. I would recommend restarting the agent on one host and see if that helps prevent the error from occurring. Run: systemctl restart cloudera-scm-agent Monitor the agent logs on the host where you restarted the agent to see if there are any errors. If that doesn't help, we may need to restart the supervisor as well... Let us know.
... View more
07-16-2019
11:30 AM
@TCloud, Can you clarify the problem you are seeing regarding port 7182?
... View more
07-16-2019
10:13 AM
Hi @Nick , From the stack, it appears that process_info is null which indicates an unexpected condition leading up to this event. In order to learn more about what is happening leading up to the stack trace, would you be able to include the entire agent file or at least 100 lines preceeding the first stack trace you see with "AttributeError: 'NoneType' object has no attribute 'get'" That should help give us some clues.
... View more
07-15-2019
03:46 PM
1 Kudo
Hi @Nukala , You need a trial license to use Navigator Audit and Metadata Server. Make sure you chose the Enterprise Trial license. If you are using Express, go to Administration --> License and see if you have a button to start the trial. Post screen shots if that doesn't help.
... View more
07-14-2019
07:16 PM
4 Kudos
@anung, I also used the instructions here: https://docs.hortonworks.com/HDPDocuments/CFM/CFM-1.0.1/installation/content/overview.html I tested by making sure that the CA service could not access /var/lib/nifitoolkit and reproduced the error you are seeing. I did the following: chown root:root nifitoolkit/ chmod 700 nifitoolkit/ drwx------ 3 root root 4096 Jul 13 13:44 nifitoolkit I get: Caused by: java.io.FileNotFoundException: /var/run/cloudera-scm-agent/process/2549-nifitoolkitca-NIFI_TOOLKIT_SERVER/staging/globals.xml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195) So, yes, the process must be able to create the /var/lib/nifitoolkit directory and it must be owned by "nifitoolkit". You can try: mkdir /var/lib/nifitoolkit chown -R nifitoolkit:nifitoolkit /var/lib/toolkit Then try restarting. If there is still a problem, let's look at your ls -lart /var/lib output
... View more
07-13-2019
05:32 PM
I tested on CM 6.2 and did not encounter the problem on CFM 1.0.1.0. My process directory (created by CM/agent for the process to start) does not include the file. However, the config.zip that is in the process directory does contain it: [root@host-10-17-100-225 2537-nifitoolkitca-NIFI_TOOLKIT_SERVER]# unzip -l config.zip Archive: config.zip Length Date Time Name --------- ---------- ----- ---- 2094 07-13-2019 13:44 staging/globals.xml 1192 07-13-2019 13:44 logback.xml 828 07-13-2019 13:44 scripts/cc.sh 294 07-13-2019 13:44 cloudera-monitor.properties 238 07-13-2019 13:44 aux/configbuilder/ca-config.json 0 07-13-2019 13:44 redaction-rules.json 308 07-13-2019 13:44 cloudera-stack-monitor.properties 1205 07-13-2019 13:44 aux/templates/env.sh 1280 07-13-2019 13:44 aux/templates/config.json 989 07-13-2019 13:44 aux/templates/hadoop_xml_properties.j2 2332 07-13-2019 13:44 scripts/control.sh 1006 07-13-2019 13:44 aux/configbuilder/control-env.json 809 07-13-2019 13:44 aux/defaults/nifi-ca-client.xml I saw one hint in an internal discussion that permissions on /var/lib/nifi* could be an issue... can you do an "ls -lrt /var/lib/nifi*" and show the results? I'll work with the NiFi team on Monday to see if we can get this working for you.
... View more
07-13-2019
10:45 AM
@anung @Sheldon_G @Nando , I'm sorry to hear you are hitting this issue. Let me walk through the install and see if I can lend a hand. What instructions are you using?
... View more
07-12-2019
11:18 AM
Hi @TCloud , The documentation contains information about the trusstore in Step 4: https://www.cloudera.com/documentation/enterprise/latest/topics/how_to_configure_cm_tls.html#concept_xtp_q3w_wn It does not include *what* to put in the truststore file, though, so yes, that is something that should be improved. If you are using a Certificate Authority to sign your certificates, you can simply add the root CA certificate to the truststore. If you are using self-signed certificates, each agent's certificate needs to be imported so CM can validate the agent's certificate.
... View more
07-11-2019
03:49 PM
1 Kudo
@ca, Testing for compliance and compatibilty takes a good deal of effort so we usually only certifiy later OS release on the latest CM/CDH versions. By "supported" in this case we mean that we have tested and certify CM/CDH on that OS release. Part of obtaining software from our distrobution is that we test to help ensure stability with the products. That takes some of the guess-work out, but that also means that if you want that assurance, "certified" configurations may not include the latest OS releases and third-party code. We seek to balance stability with rich features that our users demand. Hope that helps explain things a bit more. Please feel free to ask more if you have any questions!
... View more
07-11-2019
01:56 PM
1 Kudo
Hi @DataMike , I believe the following should work (decommissioning probably won't include adding the role to another host): (1) In CM, Navigate to HDFS --> Instances (2) Check the box next to the "balancer" role. (3) From the Actions for Selected drop-down, choose Delete (4) Add the role back by clicking the Add Role Instances button (5) In the wizard, chose the "balancer" role and select the host on which you want it to run (complete the wizard) I do not believe anything else would need to be done as the configuration for the balancer will be retained even without the role existing.
... View more