ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amarnath reddy pappu (JIRA)" <>
Subject [jira] [Created] (AMBARI-21774) NullPointerException if there is no proper HDP/HDF repo
Date Mon, 21 Aug 2017 21:53:00 GMT
amarnath reddy pappu created AMBARI-21774:

             Summary: NullPointerException if there is no proper HDP/HDF repo
                 Key: AMBARI-21774
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
            Reporter: amarnath reddy pappu

Ambari server fails with "NullPointerException" if cluster is pointing to specific HDP/HDF/xxx
and if that folder does not exist in resources folders.

Should do NULL check and then print proper meaning full error message so that customer's can
install correct that.

15 Aug 2017 15:54:02,685  INFO [Stack Version Loading Thread] LatestRepoCallable:80 - Loading
latest URL info for stack HDP-2.3 from
15 Aug 2017 15:54:02,691 ERROR [main] AmbariServer:929 - Failed to run the Ambari Server
org.apache.ambari.server.AmbariException: An error occured during updating current repository
versions with stack repositories.
	at org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(
	at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(
	at org.apache.ambari.server.controller.AmbariServer.main(
Caused by: java.lang.NullPointerException
	at org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(
	... 2 more

This message was sent by Atlassian JIRA

View raw message