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

[Bug][Manager] After approving the new group, the group status always stays at Configuring #2617

Closed
healchow opened this issue Feb 21, 2022 · 0 comments · Fixed by #2618
Closed
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@healchow
Copy link
Member

What happened

Following is the error stack:

2022-02-21 11:19:06.192 [async-process-event-notifier-0] ERROR o.a.i.manager.workflow.event.LogableEventListener:90 - listener exception:{"id":null,"processId":3,"processName":"NEW_GROUP_PROCESS","processDisplayName":"New-Group","inlongGroupId":"b_heal_test","taskId":null,"elementName":"EndEvent","elementDisplayName":"EndEvent","eventType":"ProcessEvent","event":"COMPLETE","listener":"StartCreateGroupProcessListener","startTime":1645413346505,"endTime":null,"status":-1,"async":1,"ip":"10.43.9.122","remark":null,"exception":"The current inlong group status does not support modification"}
org.apache.inlong.manager.common.exceptions.WorkflowNoRollbackException: The current inlong group status does not support modification
	at org.apache.inlong.manager.workflow.core.TransactionHelper.execute(TransactionHelper.java:65)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:106)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.lambda$executeComplete$1(ProcessorExecutorImpl.java:123)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:123)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.lambda$executeCompleteInTransaction$3(ProcessorExecutorImpl.java:159)
	at org.apache.inlong.manager.workflow.core.TransactionHelper.execute(TransactionHelper.java:62)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:106)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.lambda$executeComplete$1(ProcessorExecutorImpl.java:123)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:123)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.lambda$executeCompleteInTransaction$3(ProcessorExecutorImpl.java:159)
	at org.apache.inlong.manager.workflow.core.TransactionHelper.execute(TransactionHelper.java:62)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:106)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.lambda$executeComplete$1(ProcessorExecutorImpl.java:123)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:123)
	at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:111)
	at org.apache.inlong.manager.workflow.core.impl.ProcessServiceImpl.start(ProcessServiceImpl.java:60)
	at org.apache.inlong.manager.service.workflow.WorkflowServiceImpl.start(WorkflowServiceImpl.java:99)
	at org.apache.inlong.manager.service.workflow.WorkflowServiceImpl$$FastClassBySpringCGLIB$$cd6a46f8.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
	at org.apache.inlong.manager.service.workflow.WorkflowServiceImpl$$EnhancerBySpringCGLIB$$a6047c7e.start(<generated>)
	at org.apache.inlong.manager.service.workflow.group.listener.StartCreateGroupProcessListener.listen(StartCreateGroupProcessListener.java:62)
	at org.apache.inlong.manager.workflow.event.LogableEventListener.executeListenerWithLog(LogableEventListener.java:81)
	at org.apache.inlong.manager.workflow.event.LogableEventListener.listen(LogableEventListener.java:59)
	at org.apache.inlong.manager.workflow.event.process.ProcessEventNotifier.lambda$null$1(ProcessEventNotifier.java:93)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
``

### What you expected to happen

The status will change to Successfully or Failed.

### How to reproduce

Just Approve a new inlong group, you will find the above error.

### Environment

_No response_

### InLong version

master

### InLong Component

InLong Manager

### Are you willing to submit PR?

- [X] Yes, I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
@healchow healchow added the type/bug Something is wrong label Feb 21, 2022
@healchow healchow added this to the 1.1.0 milestone Feb 21, 2022
@healchow healchow self-assigned this Feb 21, 2022
@healchow healchow changed the title [Bug][Manager] After approving the new group, the group status always stays at Configuring. [Bug][Manager] After approving the new group, the group status always stays at Configuring Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
1 participant