Member since
05-17-2017
6
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 36181 | 09-24-2020 07:25 PM |
09-25-2020
12:17 PM
Hi Steven, I used @bingo 's solution to get Nifi to find my JAVA_HOME. But you mention that Nifi does not need this to run. Do you know what is the impact for running nifi without it knowing where Java is installed?
... View more
09-23-2020
03:51 AM
1 Kudo
Hi Experts, My issue is resolved now. I had raised a ticket with cloudera and they provided my with a modified yumrpm.py file which I replaced with my existing file. This new python had option to skip in case it encounters a blank package. Following are the steps to resolve my issue. 1) verify ambari-agent version is 2.6.2.2 by `ambari-agent --version` on problematic node 2) stop ambari-agent on problematic node 3)go to /usr/lib/ambari-agent/lib/resource_management/core/providers/package/ ~> cd /usr/lib/ambari-agent/lib/resource_management/core/providers/package/ 4) take bacup of yumrpm.py ~> mv yumrpm.py /tmp 5) download the attached yumrpm.py and keep it in /user/home/ananya 6) do an diff of ~> diff /tmp/yumrpm.py /user/home/ananya/yumrpm.py >>>(diff loooks similar too this) 263,267c263,264 < if len(name) == 0: < Logger.info("Skipping installation of empty package") < else: < Logger.info("Installing package %s ('%s')" % (name, string_cmd_from_args_list(cmd))) < self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput()) --- > Logger.info("Installing package %s ('%s')" % (name, string_cmd_from_args_list(cmd))) > self.checked_call_with_retries(cmd, sudo=True, > logoutput=self.get_logoutput()) <<<< 7) move the yumrpm.py to /usr/lib/ambari-agent/lib/resource_management/core/providers/package/ mv /user/home/ananya/yumrpm.py /usr/lib/ambari-agent/lib/resource_management/core/providers/package/ 😎 start ambari-agent Thanks and Regards, Ananya
... View more