05-16-2016 05:38 PM
We booted up a cluster last week with director and now we are getting this error. We are using mysql on the for the backend.
Status: 500, Reason: /api/internal/aggregation/clusterStatuses: Internal Server Error, org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
We've tracked this error down to this api call not working. Is there an easy was to reset this?
05-17-2016 09:06 AM
Could you pull out the Director server log at the time when this API call is made? It would have a stack trace that might shed more light on the cause of the error. You can find it in /var/log/cloudera-director-server/application.log
Once you set up the cluster using Director, did you make any modifications to the cluster or its roles and services outside Director, i.e. using Cloudera Manager?
05-17-2016 09:48 AM
We were able to fix this using these steps.
05-17-2016 10:46 AM
I'm assuming you mean you used the CRaSH shell command. Do you have an idea of what got you into the error condition - it was likely because Director was used in an unexpected way. We'd like to help you identify what you are trying to do and find alternate ways to achieve the same, rather than repeatedly run into errors and use the CRaSH shell command.