[jira] [Resolved] (THRIFT-4223) Add support to the isServing() method for the C++ library
[ https://issues.apache.org/jira/browse/THRIFT-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III resolved THRIFT-4223. Resolution: Information Provided > Add support to the isServing() method for the C++ library > - > > Key: THRIFT-4223 > URL: https://issues.apache.org/jira/browse/THRIFT-4223 > Project: Thrift > Issue Type: Question > Components: C++ - Library >Affects Versions: 0.10.0 > Environment: Linux >Reporter: Erick Arroyo >Assignee: James E. King, III > Fix For: 0.11.0 > > Original Estimate: 8h > Remaining Estimate: 8h > > It is important to add support to the isServing() method for the C++ library > and in the other supported languages. This method is already exposed on the > Java library. > This method is very useful to determine when exactly the server is in > listening state and also can be used to fix for example race conditions > between the server and the client. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Reopened] (THRIFT-4197) Implement transparent gzip compression for HTTP transport
[ https://issues.apache.org/jira/browse/THRIFT-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III reopened THRIFT-4197: Reopening to put it in "Resolved" state for release note generation. > Implement transparent gzip compression for HTTP transport > - > > Key: THRIFT-4197 > URL: https://issues.apache.org/jira/browse/THRIFT-4197 > Project: Thrift > Issue Type: Improvement > Components: Go - Library >Affects Versions: 0.10.0 >Reporter: Can Celasun >Assignee: Can Celasun >Priority: Minor > Fix For: 0.11.0 > > > HTTP transport should check if the client supports gzip compressed responses > and do transparent compression if it does. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] thrift issue #1287: THRIFT-4219 Refactor Go HTTP Client
Github user dcelasun commented on the issue: https://github.com/apache/thrift/pull/1287 Not to rush anyone, but will this be merged before 0.11? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Closed] (THRIFT-4148) [maven-thrift-plugin] compile error while import a thrift in dependency jar file.
[ https://issues.apache.org/jira/browse/THRIFT-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III closed THRIFT-4148. -- > [maven-thrift-plugin] compile error while import a thrift in dependency jar > file. > - > > Key: THRIFT-4148 > URL: https://issues.apache.org/jira/browse/THRIFT-4148 > Project: Thrift > Issue Type: Bug > Components: Build Process >Affects Versions: 0.10.0 > Environment: mac osx, oracle jdk 1.8 >Reporter: PENG Yongyi >Assignee: James E. King, III > Fix For: 0.11.0 > > Attachments: thrift-4148.diff > > > [ERROR] thrift failed output: [WARNING: Path/to/MyThrift.thrift:8] Could not > find include file Path/of/IncludingThrift.thrift -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (THRIFT-4219) Golang HTTP clients created with Nil buffer
[ https://issues.apache.org/jira/browse/THRIFT-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082082#comment-16082082 ] ASF GitHub Bot commented on THRIFT-4219: Github user dcelasun commented on the issue: https://github.com/apache/thrift/pull/1287 Not to rush anyone, but will this be merged before 0.11? > Golang HTTP clients created with Nil buffer > --- > > Key: THRIFT-4219 > URL: https://issues.apache.org/jira/browse/THRIFT-4219 > Project: Thrift > Issue Type: Bug > Components: Go - Library >Reporter: James Mouradian >Assignee: Can Celasun > > As of 2b1b32c, > [{{NewTHttpClientWithOptions}}|https://github.com/apache/thrift/blob/master/lib/go/thrift/http_client.go#L93] > creates a {{THttpClient}} instance with a nil {{requestBuffer}}. This causes > a panic when the instance attempts to write to the buffer. > A patch probably fits well with THRIFT-4215 and THRIFT-4216. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III reassigned THRIFT-4250: -- Assignee: Jake Farrell > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Bug >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III updated THRIFT-4250: --- Issue Type: Wish (was: Bug) > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Wish >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III updated THRIFT-4250: --- Labels: performance (was: ) > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Wish >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (THRIFT-4223) Add support to the isServing() method for the C++ library
[ https://issues.apache.org/jira/browse/THRIFT-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III closed THRIFT-4223. -- > Add support to the isServing() method for the C++ library > - > > Key: THRIFT-4223 > URL: https://issues.apache.org/jira/browse/THRIFT-4223 > Project: Thrift > Issue Type: Question > Components: C++ - Library >Affects Versions: 0.10.0 > Environment: Linux >Reporter: Erick Arroyo >Assignee: James E. King, III > Fix For: 0.11.0 > > Original Estimate: 8h > Remaining Estimate: 8h > > It is important to add support to the isServing() method for the C++ library > and in the other supported languages. This method is already exposed on the > Java library. > This method is very useful to determine when exactly the server is in > listening state and also can be used to fix for example race conditions > between the server and the client. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III updated THRIFT-4250: --- Component/s: Build Process > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Wish > Components: Build Process >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III closed THRIFT-2241. -- > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III closed THRIFT-2241. -- > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III updated THRIFT-2241: --- Issue Type: Improvement (was: Bug) > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Reopened] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III reopened THRIFT-2241: > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (THRIFT-4197) Implement transparent gzip compression for HTTP transport
[ https://issues.apache.org/jira/browse/THRIFT-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III resolved THRIFT-4197. Resolution: Fixed > Implement transparent gzip compression for HTTP transport > - > > Key: THRIFT-4197 > URL: https://issues.apache.org/jira/browse/THRIFT-4197 > Project: Thrift > Issue Type: Improvement > Components: Go - Library >Affects Versions: 0.10.0 >Reporter: Can Celasun >Assignee: Can Celasun >Priority: Minor > Fix For: 0.11.0 > > > HTTP transport should check if the client supports gzip compressed responses > and do transparent compression if it does. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (THRIFT-4229) Make thrift-maven-plugin threadSafe
[ https://issues.apache.org/jira/browse/THRIFT-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082086#comment-16082086 ] James E. King, III commented on THRIFT-4229: [~jfarrell] can you add a "Third Party" component to Jira for issues like this? > Make thrift-maven-plugin threadSafe > --- > > Key: THRIFT-4229 > URL: https://issues.apache.org/jira/browse/THRIFT-4229 > Project: Thrift > Issue Type: Bug >Affects Versions: 0.9.3, 0.10.0, 0.11.0 > Environment: Maven 3.5 > org.apache.thrift:thrift-maven-plugin:0.9.3 > org.apache.thrift > thrift-maven-plugin > 0.9.3 >Reporter: Ahmet Bolac > Fix For: 0.11.0 > > > We are seeing a warning in our build using Maven 3.5 as following: > {noformat} > [WARNING] * > [WARNING] * Your build is requesting parallel execution, but project * > [WARNING] * contains the following plugin(s) that have goals not marked * > [WARNING] * as @threadSafe to support parallel building. * > [WARNING] * While this /may/ work fine, please look for plugin updates* > [WARNING] * and/or request plugins be made thread-safe. * > [WARNING] * If reporting an issue, report it against the plugin in* > [WARNING] * question, not against maven-core * > [WARNING] * > [WARNING] The following plugins are not marked @threadSafe in drive-thrift: > [WARNING] org.apache.thrift.tools:maven-thrift-plugin:0.1.11 > [WARNING] Enable debug to see more precisely which goals are not marked > @threadSafe. > [WARNING] * > {noformat} > which indicates the plugin is not thread-safe. > Is it possible to address this in the next version so it is thread-safe (and > marked as such) and does not trigger this warning anymore? > Thanks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III resolved THRIFT-2241. Resolution: Fixed Assignee: James E. King, III > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Bug > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (THRIFT-2241) Use std::shared_ptr instead of boost::shared_ptr
[ https://issues.apache.org/jira/browse/THRIFT-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III resolved THRIFT-2241. Resolution: Duplicate > Use std::shared_ptr instead of boost::shared_ptr > > > Key: THRIFT-2241 > URL: https://issues.apache.org/jira/browse/THRIFT-2241 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library >Affects Versions: 0.9.1 >Reporter: Vitali Lovich >Assignee: James E. King, III > > There should be a way to switch whether the thrift API requires a > boost::shared_ptr or a std::shared_ptr. The default should be to use > std::shared_ptr if the compiler supports it (i.e. config.h) & fallback to > boost only when explicitly requested. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King, III updated THRIFT-4250: --- Affects Version/s: 0.10.0 > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Wish >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (THRIFT-4250) Please release 0.10.1 with fix for THRIFT-4062
[ https://issues.apache.org/jira/browse/THRIFT-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082085#comment-16082085 ] James E. King, III commented on THRIFT-4250: There are 170+ fixes queued up for 0.11.0, I'd prefer to start a release cycle. We should be making at least a couple releases a year. > Please release 0.10.1 with fix for THRIFT-4062 > -- > > Key: THRIFT-4250 > URL: https://issues.apache.org/jira/browse/THRIFT-4250 > Project: Thrift > Issue Type: Bug >Affects Versions: 0.10.0 >Reporter: David Ross >Assignee: Jake Farrell > Labels: performance > > THRIFT-4062 is a serious usability issue for anyone running nontrivial java > applications with thrift. It was fixed months ago. I am requesting a patch > release on the 0.10.0 with, potentially, only this one commit. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] thrift pull request #1306: Fix Nodejs generation to auto deal with args clas...
GitHub user wenshin opened a pull request: https://github.com/apache/thrift/pull/1306 Fix Nodejs generation to auto deal with args class instantiation I found there is a logic for auto dealing with method args class instantiation, but not using You can merge this pull request into a Git repository by running: $ git pull https://github.com/wenshin/thrift fix/node-generation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1306.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1306 commit 9cf458bcb158c5f0f23dd0d89d53349bfaf88b44 Author: yuanwen Date: 2017-07-11T14:19:54Z Fix Nodejs generation to auto deal with args class instantiation --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] thrift pull request #1287: THRIFT-4219 Refactor Go HTTP Client
Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/1287 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Commented] (THRIFT-4197) Implement transparent gzip compression for HTTP transport
[ https://issues.apache.org/jira/browse/THRIFT-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082997#comment-16082997 ] Jens Geyer commented on THRIFT-4197: > Reopening to put it in "Resolved" state for release note generation. ??? > Implement transparent gzip compression for HTTP transport > - > > Key: THRIFT-4197 > URL: https://issues.apache.org/jira/browse/THRIFT-4197 > Project: Thrift > Issue Type: Improvement > Components: Go - Library >Affects Versions: 0.10.0 >Reporter: Can Celasun >Assignee: Can Celasun >Priority: Minor > Fix For: 0.11.0 > > > HTTP transport should check if the client supports gzip compressed responses > and do transparent compression if it does. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (THRIFT-4219) Golang HTTP clients created with Nil buffer
[ https://issues.apache.org/jira/browse/THRIFT-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082994#comment-16082994 ] ASF GitHub Bot commented on THRIFT-4219: Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/1287 > Golang HTTP clients created with Nil buffer > --- > > Key: THRIFT-4219 > URL: https://issues.apache.org/jira/browse/THRIFT-4219 > Project: Thrift > Issue Type: Bug > Components: Go - Library >Reporter: James Mouradian >Assignee: Can Celasun > Fix For: 0.11.0 > > > As of 2b1b32c, > [{{NewTHttpClientWithOptions}}|https://github.com/apache/thrift/blob/master/lib/go/thrift/http_client.go#L93] > creates a {{THttpClient}} instance with a nil {{requestBuffer}}. This causes > a panic when the instance attempts to write to the buffer. > A patch probably fits well with THRIFT-4215 and THRIFT-4216. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (THRIFT-4219) Golang HTTP clients created with Nil buffer
[ https://issues.apache.org/jira/browse/THRIFT-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Geyer resolved THRIFT-4219. Resolution: Fixed Fix Version/s: 0.11.0 Committed. > Golang HTTP clients created with Nil buffer > --- > > Key: THRIFT-4219 > URL: https://issues.apache.org/jira/browse/THRIFT-4219 > Project: Thrift > Issue Type: Bug > Components: Go - Library >Reporter: James Mouradian >Assignee: Can Celasun > Fix For: 0.11.0 > > > As of 2b1b32c, > [{{NewTHttpClientWithOptions}}|https://github.com/apache/thrift/blob/master/lib/go/thrift/http_client.go#L93] > creates a {{THttpClient}} instance with a nil {{requestBuffer}}. This causes > a panic when the instance attempts to write to the buffer. > A patch probably fits well with THRIFT-4215 and THRIFT-4216. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (THRIFT-4251) Epoll Selector Bug
JohnnyLiao created THRIFT-4251: -- Summary: Epoll Selector Bug Key: THRIFT-4251 URL: https://issues.apache.org/jira/browse/THRIFT-4251 Project: Thrift Issue Type: Bug Components: Java - Compiler, Java - Library Affects Versions: 0.10.0 Environment: Linux version 3.10.0-327.el7.x86_64 (buil...@kbuilder.dev.centos.org) java version "1.8.0_131" Reporter: JohnnyLiao Thrift java unsolve the infamous epoll bug. It's consum 100% cpu resource when this occured. It seems to affect any NIO based Java server applications running in the specified environment. Some projects provide workarounds for similar JDK bugs, for example replaces the current Selector of this SelectorThread.select with newly created Selector. Stack Traceļ¼ "Thread-46" #95 prio=5 os_prio=0 tid=0x7fc79cd02800 nid=0xb1 runnable [0x7fc580bd1000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x8012f748> (a sun.nio.ch.Util$3) - locked <0x8012f738> (a java.util.Collections$UnmodifiableSet) - locked <0x80120f58> (a sun.nio.ch.EPollSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) at org.apache.thrift.server.TThreadedSelectorServer$SelectorThread.select(TThreadedSelectorServer.java:570) at org.apache.thrift.server.TThreadedSelectorServer$SelectorThread.run(TThreadedSelectorServer.java:541) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (THRIFT-4236) Support context in go generated code.
[ https://issues.apache.org/jira/browse/THRIFT-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083445#comment-16083445 ] Can Celasun commented on THRIFT-4236: - I realize I'm a bit late to notice this PR since it's already merged, but I think introducing a hard dependency on Go 1.7+ is the wrong way to go about this, and so is making it default. The correct way of handling these situations is to use [build tags|https://golang.org/pkg/go/build/#hdr-Build_Constraints]. So, any file that uses "context" directly should have a "go1.7" build tag and a "_go17" suffix in the filename. The default file should either not import context at all, or do so using "golang.org/x/net/context". I believe it would be a mistake to release 0.11 without the above changes, so it should either be fixed before then or just reverted for 0.11. [~taozle] [~jensg] thoughts? > Support context in go generated code. > - > > Key: THRIFT-4236 > URL: https://issues.apache.org/jira/browse/THRIFT-4236 > Project: Thrift > Issue Type: Improvement > Components: Go - Compiler, Go - Library >Reporter: taozle >Assignee: taozle > Fix For: 0.11.0 > > > Since context is widely used in go's community, and there is lots of > advantage to use context such as control timeout, carry extra info in one > request etc, so is there any plan for this? i just searched the issues but > didn't find anything about this. -- This message was sent by Atlassian JIRA (v6.4.14#64029)