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/03/08 05:09:47 UTC

[GitHub] [incubator-dolphinscheduler] TisonKun opened a new issue #2111: [BUG] Reflect to set/get FileDescriptor's field in ProcessImplForWin32 to for portability

TisonKun opened a new issue #2111: [BUG] Reflect to set/get FileDescriptor's field in ProcessImplForWin32 to for portability 
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2111
 
 
   Current implementation relies on `sun.misc.JavaIOFileDescriptorAccess` which cannot be accessed in openjdk or jdk11+.
   
   Basically the demand is get & set `fd` field of `FileDescriptor`, so we can directly do that with reflection. Though, I suspect the necessity we introduce `ProcessImplForWin32`. Maybe we can have a better way to support worker server to run bat script.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] liwenhe1993 commented on issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable

Posted by GitBox <gi...@apache.org>.
liwenhe1993 commented on issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2111#issuecomment-596305846
 
 
   @TisonKun solved this bug, I'm checking this PR.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] dailidong closed issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2111
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #2111: [BUG] sun.misc.JavaIOFileDescriptorAccess is not portable
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2111#issuecomment-596204462
 
 
   good job
   
   @liwenhe1993 please find some methods to solve this , thx

----------------------------------------------------------------
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


With regards,
Apache Git Services