Madhuvanthi Radhakrishnan created AMBARI-21930:
--------------------------------------------------
Summary: NullPointerException during blueprint generation
Key: AMBARI-21930
URL: https://issues.apache.org/jira/browse/AMBARI-21930
Project: Ambari
Issue Type: Bug
Affects Versions: 2.4.3
Reporter: Madhuvanthi Radhakrishnan
Assignee: Madhuvanthi Radhakrishnan
Fix For: 2.6.0
http://Ambarihost:8080/api/v1/clusters/TEST?format=blueprint
Below error message web UI:
{
"status": 500,
"message": "Server Error"
}
7 Aug 2017 22:14:06,516 ERROR [ambari-client-thread-214895]
ContainerResponse:419 - The RuntimeException could not be mapped to a response,
re-throwing to the HTTP container
java.lang.NullPointerException
at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.splitAndTrimStrings(BlueprintConfigurationProcessor.java:1176)
at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.parseNameNodes(BlueprintConfigurationProcessor.java:930)
HA configs.
dfs.namenode.http-address.nonha=<local-cluster-NN-IP>:50070
dfs.nameservices.internal=nonha
dfs.nameservices=nonha,hacluster
dfs.namenode.rpc-address.nonha=<local-cluster-NN-IP>:8020
dfs.namenode.rpc-address.hacluster.nn2=<remote-cluster-NN1-IP>:8020
dfs.namenode.rpc-address.hacluster.nn1=<remote-cluster-NN2-IP>:8020
dfs.ha.namenodes.hacluster=nn1,nn2
dfs.client.failover.proxy.provider.hacluster=org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider
Basically dfs.ha.namenodes.NNSERVICE value is not defined and it errors out.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)