You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/06/04 09:31:08 UTC

[GitHub] [incubator-dolphinscheduler] torysuper opened a new issue #2900: [QUESTION] question title

torysuper opened a new issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900


   **Describe the question**
   there is an Exception when i run LoggerServer(org.apache.dolphinscheduler.server.log),
   See the log below for details;
   it throw Exception from checkMagic();
   can u help me,I spent too much time fix it,but still not solve
   ![image](https://user-images.githubusercontent.com/24407857/83739861-b6bfaf00-a688-11ea-958c-5bd9249f9edd.png)
   
   
   **Which version of DolphinScheduler:**
    -[dev-1.3.0]
   
   **Additional context**
   17:16:31.747 [NettyServerWorkerThread_1] ERROR org.apache.dolphinscheduler.remote.handler.NettyServerHandler - exceptionCaught : java.lang.IllegalArgumentException: illegal packet [magic]80
   io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: illegal packet [magic]80
   	at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:421)
   	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
   	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
   	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
   	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:677)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612)
   	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529)
   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491)
   	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.IllegalArgumentException: illegal packet [magic]80
   	at org.apache.dolphinscheduler.remote.codec.NettyDecoder.checkMagic(NettyDecoder.java:99)
   	at org.apache.dolphinscheduler.remote.codec.NettyDecoder.decode(NettyDecoder.java:53)
   	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502)
   	at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366)
   	... 15 common frames omitted
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] iceblue510 commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
iceblue510 commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-645254291


   > Can you describe the specific reproduction steps
   
   我这也是这个问题。没有做特别的操作,查看了下端口,一直间断性的有explorer。exe发消息好像
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-645247595


   Can you describe the specific reproduction steps
    
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-638754644


   and i cant understand the fun of 'checkMagic()',who can tell me 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper removed a comment on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper removed a comment on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-638754644


   and i cant understand the fun of 'checkMagic()',who can tell me 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] Technoboy- commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-645262656


   Hi, sorry for late reply. Log client will connect log server with 50051 port. If the port binds by other process, the log request can send out, but response will be checked by the log client. DS defines it's self binary protocol , and if the response is not valid, it will throw the exception you see, and the channel will close immediately. 
   So, if you meet the same issue next time, try to find the process that bind the port(50051), and kill it. then restart the log server.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper edited a comment on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper edited a comment on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-653473200


   > Hi, sorry for late reply. Log client will connect log server with 50051 port. If the port binds by other process, the log request can send out, but response will be checked by the log client. DS defines it's self binary protocol , and if the response is not valid, it will throw the exception you see, and the channel will close immediately.
   > So, if you meet the same issue next time, try to find the process that bind the port(50051), and kill it. then restart the log server.
   
   @Technoboy- 
   thx!
   but how to find the process that bind the port(50051)  with win10,
   i try my best but cant find it


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-653473200


   > Hi, sorry for late reply. Log client will connect log server with 50051 port. If the port binds by other process, the log request can send out, but response will be checked by the log client. DS defines it's self binary protocol , and if the response is not valid, it will throw the exception you see, and the channel will close immediately.
   > So, if you meet the same issue next time, try to find the process that bind the port(50051), and kill it. then restart the log server.
   thx!
   but how to find the process that bind the port(50051)  with win10,
   i try my best but cant find it


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper closed issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper closed issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] torysuper commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
torysuper commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-653472211


   i fix it with change Log client port(50051) to 50059,
   not only 50059,u can change port to any nonconflict port


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #2900: [QUESTION] Run Loggerserver throw new IllegalArgumentException at checkMagic()

Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #2900:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2900#issuecomment-647097614


   @torysuper If you do what as @Technoboy-  tells you, can you resolve your problem? If can, maybe this issue can be closed


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org