Hello. I am attempting to deploy Datahub using the...
# all-things-deployment
f
Hello. I am attempting to deploy Datahub using the helm chart. For some reason however the deployment is failing because the update job is failing. When I look at the stacktrace however, all I see is a pretty vague stack trace that looks mostly like internal spring boot things. The top level error is
Copy code
ERROR SpringApplication Application run failed
 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'upgradeCli': Unsatisfied dependency expressed through field 'noCodeUpgrade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebeanServer' defined in class path resource [com/linkedin/gms/factory/entity/EbeanServerFactory.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.ebean.EbeanServer]: Factory method 'createServer' threw exception; nested exception is java.lang.NullPointerException
📖 1
1
🔍 1
l
This content can't be displayed.
f
Solved and the solution is very silly. In values.yaml I was putting the sql and kafka credentials under the global scope, as in
Copy code
sql:
  datasource:
    ...
kafka:
  bootstrap:
    ...
instead of
Copy code
global:
  sql:
    datasource:
      ...
  kafka:
    bootstrap:
      ...
I feel like this wasn't totally obvious because I was using this page here for instructions https://datahubproject.io/docs/deploy/aws/
When it said this
I basically just assumed that kafka was the top level key because when something says "global" I intuitively think global scope. I didn't realize it meant more literally that there is a key "global" expected. I think this document should include that global key just to be more clear what needs to be done