Hi Team, Trying to upgrade to 0.9.3 version of Dat...
# troubleshoot
h
Hi Team, Trying to upgrade to 0.9.3 version of Datahub, but getting following error for the datahub-datahub-upgrade-job pod ( we use k8s deployment ) . Any suggestions ?
Copy code
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.
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
a
Hi @handsome-football-66174, what version are you upgrading from? If you’re in 0.8 you’ll likely need to use the in place migration guide here: https://datahubproject.io/docs/advanced/no-code-upgrade/
h
@astonishing-answer-96712 - I see the details for migrating while preserving the data here https://datahubproject.io/docs/advanced/no-code-upgrade/#docker-compose-deployments---preserve-data. Is there an option for Helm based deployment for above as we use k8s deployment
@astonishing-answer-96712 Error I am receiving
Copy code
Suppressed: org.elasticsearch.client.ResponseException: method [POST], host [https://<elastisearchhostname>:443], URI [/datahubpolicyindex_v2/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"query_shard_exception","reason":"[simple_query_string] analyzer [query_word_delimited] not found","index_uuid":"EYqsdfsdfNNw","index":"datahubpolicyindex_v2"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"datahubpolicyindex_v2","node":"sdfksdf","reason":{"type":"query_shard_exception","reason":"[simple_query_string] analyzer [query_word_delimited] not found","index_uuid":"sdfjksd","index":"datahubpolicyindex_v2"}}]},"status":400}
Also unabe to access GMS