Hi All - my datahub upgrade job keeps failing and ...
# all-things-deployment
c
Hi All - my datahub upgrade job keeps failing and these are the logs -
Copy code
[root@adkube06 ~]# kubectl logs -f datahub-datahub-system-update-job-w6qr7 -n gopikab
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.4.RELEASE)

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.
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See <http://www.slf4j.org/codes.html#no_static_mdc_binder> for further details.
May 09, 2023 4:30:03 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Direct driver instance 1495445111 created for server address localhost:7687
ERROR SpringApplication Application run failed
 java.lang.IllegalStateException: Failed to execute CommandLineRunner
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:816)
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:797)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:324)
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
	at com.linkedin.datahub.upgrade.UpgradeCliApplication.main(UpgradeCliApplication.java:13)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: java.lang.IllegalArgumentException: No upgrade with id SystemUpdate could be found. Aborting...
	at com.linkedin.datahub.upgrade.impl.DefaultUpgradeManager.execute(DefaultUpgradeManager.java:32)
	at com.linkedin.datahub.upgrade.UpgradeCli.run(UpgradeCli.java:44)
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:813)
	... 12 more
May 09, 2023 4:30:10 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing driver instance 1495445111
Does anyone know how to fix this ?
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: 1️⃣ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? Yes button 2️⃣ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? Yes button
o
Copy code
Caused by: java.lang.IllegalArgumentException: No upgrade with id SystemUpdate could be found
This indicates the version of DataHub upgrade is less than v0.10, what is the image tag for the System Update job?
The version of DataHub upgrade and GMS should be the same tagged version.
c
its v0.10.1
same as gms
o
Are you positive the correct image was pulled? Can you share the hash of the original image pulled since you have registered it in a separate repository and the redacted commands used to pull and register it? https://github.com/datahub-project/datahub/blob/v0.10.1/datahub-upgrade/src/main/java/com/linkedin/datahub/upgrade/system/SystemUpdate.java#L39 That error indicates this code is not present on what you have pulled.
c
hey you were right - there was a version mismatch - fixed it now
Hey Ryan, I am kinda struggling with ingestion. I have to use csv and file ingestion, do you have an example of sample data? I am not able to make it work.