Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use airbyte on kubernetes #48797

Closed
1 task
jomach opened this issue Dec 4, 2024 · 4 comments
Closed
1 task

Cannot use airbyte on kubernetes #48797

jomach opened this issue Dec 4, 2024 · 4 comments
Labels

Comments

@jomach
Copy link

jomach commented Dec 4, 2024

Connector Name

all-connectors

Connector Version

latest

What step the error happened?

None

Relevant information

Hello,

I just deployed the newest helm version of airbyte (1.2.0). When I try to setup a source or destination I get:

2024-12-04 14:57:36,670 [scheduler-executor-thread-15]	WARN	i.a.c.s.c.JobConverter(getWorkspaceId):403 - Unable to retrieve workspace ID for job null.
java.lang.NullPointerException: null
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:904)
	at com.google.common.cache.LocalCache.get(LocalCache.java:4016)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4040)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4989)
	at io.airbyte.persistence.job.WorkspaceHelper.lambda$getWorkspaceForJobId$4(WorkspaceHelper.java:162)
	at io.airbyte.persistence.job.WorkspaceHelper.handleCacheExceptions(WorkspaceHelper.java:231)
	at io.airbyte.persistence.job.WorkspaceHelper.getWorkspaceForJobId(WorkspaceHelper.java:162)
	at io.airbyte.commons.server.converters.JobConverter.getWorkspaceId(JobConverter.java:401)
	at io.airbyte.commons.server.converters.JobConverter.getAttemptLogs(JobConverter.java:320)
	at io.airbyte.commons.server.converters.JobConverter.getSynchronousJobRead(JobConverter.java:349)
	at io.airbyte.commons.server.converters.JobConverter.getSynchronousJobRead(JobConverter.java:344)
	at io.airbyte.commons.server.handlers.SchedulerHandler.reportConnectionStatus(SchedulerHandler.java:690)
	at io.airbyte.commons.server.handlers.SchedulerHandler.checkSourceConnectionFromSourceCreate(SchedulerHandler.java:270)
	at io.airbyte.server.apis.SchedulerApiController.lambda$executeSourceCheckConnection$1(SchedulerApiController.java:47)
	at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:29)
	at io.airbyte.server.apis.SchedulerApiController.executeSourceCheckConnection(SchedulerApiController.java:47)
	at io.airbyte.server.apis.$SchedulerApiController$Definition$Exec.dispatch(Unknown Source)
	at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)
	at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4350)
	at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272)
	at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38)
	at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:498)
	at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:475)
	at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87)
	at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Any idea ?

Relevant log output

Contribute

  • Yes, I want to contribute
@natikgadzhi
Copy link
Contributor

Huh. Not my area, but that seems way off. Tried community slack yet?

@jomach
Copy link
Author

jomach commented Dec 4, 2024

@natikgadzhi I just found out why. OOM and airybte is ignoring the envs : JOB_MAIN_CONTAINER_MEMORY_REQUEST again :(

@jomach
Copy link
Author

jomach commented Dec 4, 2024

This was such a good project...

@jomach
Copy link
Author

jomach commented Dec 5, 2024

Will close this as it is not really the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants