Member since
12-29-2020
10
Posts
0
Kudos Received
0
Solutions
12-13-2022
05:26 AM
I'm using cdp-pvc base cluster on aws. I have distributed a properties file(abc.properties) in /opt/ on all the nodes of the cluster. I've added the HBASE_CLASSPATH in safety valve, where I provided the path for properties file. I've created a jar for hbase operations. When I try to read the properties file with the following code. inputStream = CLASS.class.getClassLoader().getResourceAsStream("abc.properties"); The Hmaster is not getting healthy and I get inputstream as null in the strerr file. Please let me know, if anything else is required to make it available in classpath.
... View more
Labels:
08-11-2022
05:03 AM
I have been trying to create a custom ambari alert. I have created dedicated alert.json and its correspondent python script. I have successfully registered the alert function, but my python script is failing here. Is there any specific format which is required in python script. I have created a python script with execute function but still I get the error which says, 'module' object has no attribute 'execute'. following is the python script, from subprocess import check_output
def execute(configurations={}, parameters={}, host_name=None):
try:
pid = check_output(["pidof","servicename"])
if pid > 0
return "OK"
except:
return "CRITICAL"
if __name__ == '__main__':
execute() This is the screenshot of the alert. Please suggest if you think there is something wrong with this, I have tried making changes in python script, But I keep getting the same error.
... View more
Labels:
03-23-2022
11:37 PM
@sandipkumar, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
... View more
10-05-2021
07:03 AM
@sandipkumar This issue is probably with wildcard DNS and SSL . From the provided output I could see that you are not using SSL. So, it is worth to check wild card DNS on your local machine and cdsw nodes I have give below the URL for your reference. Please take a look. https://community.cloudera.com/t5/Customer/ERROR-quot-websocket-connection-failed-to-the-Livelog-server/ta-p/324373
... View more
03-23-2021
09:23 PM
Edit: I've learned that decommissioning nodes might not be the preferred way. otherwise, the problem statement remains the same. i.e. The job should not get scheduled on nodes where a particular service is down.
... View more