Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

unable to read file present in hbase classpath


I'm using cdp-pvc base cluster on aws. I have distributed a properties file( 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("");

 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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.