Commit Graph

337 Commits

Author SHA1 Message Date
Jake Farrell
89be18365e Thrift-1951:libthrift.jar has source files in it
Client: java
Patch: Jake Farrell

Remove source from libthrift.jar. source dist all ready included in release to central.
2013-06-04 23:22:04 -04:00
Jens Geyer
111d8f2615 Add jensg to dev list 2013-06-03 16:49:55 +02:00
Carl Yeksigian
350860fca3 Add carl to developer list 2013-06-01 22:48:52 -04:00
Jake Luciani
36af4d3b40 THRIFT-1972 Add async server processors to Java
Patch: Jake Luciani
2013-05-16 12:59:50 -04:00
Roger Meier
15522724f6 THRIFT-1034 Java: Add a TNonblockingMultiFetchClient
Patch: Xing Jin
2013-05-12 20:45:13 +02:00
Jake Farrell
0fd47dab1b THRIFT-1956: Switch to Apache Commons Lang 3
Client: java
Patch: Christoffer Sawicki

Updates commons lang from 2.5 to 3.1
2013-05-02 22:51:52 -04:00
Jens Geyer
cac2c5761e THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
Fixes broken build due to previous patch
2013-03-25 01:22:09 +02:00
Roger Meier
9cda78844d THRIFT-1864 java: implement event handler for non-blocking server
Patch: Vitali Lovich
2013-03-24 21:42:35 +01:00
Roger Meier
ce6d1d709a THRIFT-1869 TThreadPoolServer (java) dies when threadpool is consumed
Patch: Brock Noland
2013-03-24 21:26:17 +01:00
Jens Geyer
3661867feb THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
2013-03-24 11:53:31 +02:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Roger Meier
7b96b2249a THRIFT-1805 Thrift should not swallow ALL exceptions
Patch: Diwaker Gupta
2013-01-23 20:18:58 +01:00
Roger Meier
f42ce2a8f4 THRIFT-847 Test Framework harmonization across all languages
THRIFT-1595 Java test server should follow the documented behavior as of THRIFT-1590
 Patch: Kamil Salas
2013-01-16 22:12:14 +01:00
Roger Meier
8ebe0d917c THRIFT-1594 Java test clients should have a return codes that reflect whether it succeeds or not.
Patch: Kamil Salas and  Roger Meier
2013-01-06 14:33:39 +01:00
Roger Meier
f089f8ee5f remove unused import 2012-12-27 00:17:39 +01:00
Roger Meier
5d06db63cf THRIFT-1795 Race condition in TThreadedServerPool java implementation
Patch: Venkat Ranganathan
2012-12-23 17:20:20 +01:00
Roger Meier
0193149842 THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Roger Meier
8fa8aeac9a THRIFT-1641 Thrift 0.8 not compatible with Android HttpClient
Patch: Darin Tay
2012-12-22 19:46:28 +01:00
Roger Meier
e242a96ae3 add -Xlint:unchecked to improve quality
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410065 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:23:27 +00:00
Jake Farrell
a0bd523670 Thrift-1728:Upgradation of httpcomponents
Client: java
Patch: Karthik K

Upgrade java version dependencies and moves versioning into build.properties 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397588 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:44:14 +00:00
Jake Farrell
435e1c4f70 THRIFT-1643:Denial of Service attack in TBinaryProtocol.readString
Client: java
Patch: Niraj Tolia 

In readString, if the string field's size is greater than the number of bytes remaining in the byte array to deserialize, libthrift will happily allocate a byte array of that size in readStringBody, filling the heap.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397397 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 00:43:13 +00:00
Jake Farrell
6fcecd45a7 Updating Thrift trunk version to 1.0.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:34:25 +00:00
Roger Meier
f1ede79211 THRIFT-1643 Denial of Service attack in TBinaryProtocol.readString
Patch: Niraj Tolia
Fix:   add TCompactProtocol maxNetworkBytes


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396186 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:42:16 +00:00
Jake Farrell
e2ef3179b6 Thrift-1693:libthrift has dependency on two different versions of httpcore
Client: java
Patch: Jake Farrell

Update version of httpclient to match httpcore in use in java lib.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384182 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 01:43:10 +00:00
Bryan Duxbury
630ce09ae6 THRIFT-1655. java: TBinaryProtocol: exceeded message length raises generic TException
This patch converts the TException into a TProtocolException.

Patch: Tyler Hobbs

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1383515 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:33:07 +00:00
Jake Farrell
2853cc0adf Thrift-1658:Java thrift server is not throwing TApplicationException
Client: java
Patch: Keith Turner

Exceptions not being handled correctly within newly modified ProcessFunctions. Added back code previously removed from auto generated class.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375880 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 02:27:06 +00:00
Jake Farrell
3fcdb09267 Thrift-1652: TSaslTransport does not log the error when kerberos auth fails
Client: java
Patch: Rohini Palaniswamy

The actual kerberos authentication failure is not logged and it is very difficult to find the actual reason for the failure.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1361615 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 23:56:20 +00:00
Roger Meier
ee22939d1a THRIFT-1608 add license header
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353313 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 19:07:12 +00:00
Roger Meier
e64b12999d THRIFT-1608 Allow servlet to be supplied TProcessor and TProtocolFactory after the init() method has finished
Patch: Kiril Raychev

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351848 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:54:51 +00:00
Roger Meier
cefdca6f49 THRIFT-1195 Allow users to act on client connects/disconnects
HIVE-3067 Shutdown HiveMetaStore on client disconnect or timeout
HIVE-3057 metastore.HiveMetaStore$HMSHandler should set the thread local raw store to null in shutdown()

Patch: Dragan Okiljevic

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346566 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 20:14:14 +00:00
Bryan Duxbury
e25db162a5 THRIFT-1613. Add code back into empty source file ToStringTest.java
Actually, should have just deleted the file.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343889 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 18:13:39 +00:00
Roger Meier
4cb8e40d8a THRIFT-1612 Base64 encoding is broken
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 18:05:16 +00:00
Roger Meier
83042b9078 THRIFT-1613 Add code back into empty source file ToStringTest.java
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343032 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 10:54:17 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Roger Meier
99b3672530 THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- fix the build!
- add test/gen-html for ThriftTest.thrift

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333628 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:21:43 +00:00
Roger Meier
f50df7f2ba THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333239 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 22:49:55 +00:00
Roger Meier
95b1bd71e3 THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- reduce NUM_QUERIES within test for slow machines ;-r

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 20:43:26 +00:00
Jake Farrell
ca620e3788 THRIFT-1429:The nonblocking servers is supposed to use TransportFactory to read the data
Client: Java
Patch: Bryan Duxbury 

Enforce the transport factory on the server-read side as well as on the server-write side



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1296060 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 05:56:03 +00:00
Jake Farrell
4ca8c3b819 THRIFT-1523: clientTimeout not worked as expected in TServerSocket created by TSSLTransportFactory
Client: java
Patch: Alexey Sviridov

Adds server timeout to SSLTransportFactory



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1296053 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 05:22:02 +00:00
Bryan Duxbury
38087708b5 THRIFT-1529. java: TupleProtocol can unintentionally include an extra byte in bit vectors when number of optional fields is an integral of 8
This patch harmonizes the math between writeBitSet and readBitSet to eliminate the mismatch in number of bytes calculation, allowing structs to be serialized correctly.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1295995 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 23:41:09 +00:00
Bryan Duxbury
f85ad51765 THRIFT-1526. java: Union TupleSchemeFactory returns StandardSchemes
This patch makes it return nice, proper TupleSchemes.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1294925 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 01:12:27 +00:00
Bryan Duxbury
b405ca6be8 THRIFT-1447. java: NullpointerException in ProcessFunction.class :in 'oneway' method
Patch: Ihor Mysak

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1244272 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 23:35:22 +00:00
Jake Farrell
b2c4952799 Thrift-1465:Visibility of methods in generated java code
Client: java
Patch: Ashutosh Chauhan

Changes visibility of processor getProcessMap() and getEmptyArgs() methods


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1236515 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:01:54 +00:00
Jake Farrell
100f616afd THRIFT-1498:Allow TThreadedPoolServer.Args to pass a ExecutorService
Client: java
Patch: Scott Chen

Adds ability to assign a ExecutorService from TThreadedPoolServer.Args.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1236505 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:19:01 +00:00
Roger Meier
6823b6d729 add info on proxy usage
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1235438 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 19:35:09 +00:00
Bryan Duxbury
a3df547c84 THRIFT-317. java: Issues with Java struct validation
Nested structs will now be validated before serialization starts.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1225035 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 22:26:59 +00:00
Bryan Duxbury
e7bec40882 THRIFT-1468. java: Memory leak in TSaslServerTransport
This patch changes a particular map element to a WeakReference and thus avoids some awkward un-GC-ableness.

Patch: Mithun Radhakrishnan"


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1222397 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 19:04:16 +00:00
Bryan Duxbury
1e79cb40f5 THRIFT-1469. java: Java isset space optimization
This patch gives the generated code some variable-sized options for the isset bit vector. The compiler will attempt to use byte, short, int and long types before reverting to a BitSet for structs with a LOT of optional fields. This should save a fair amount of memory in a lot of cases.

Patch: Brian Bloniarz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1221828 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:13:29 +00:00
Jake Farrell
f3e48d4a2e THRIFT-1464: AbstractNonblockingServer.FrameBuffer TNonblockingTransport accessor changed from public to private
Client: java
Patch: Jake Farrell

Fixes accessor for TNonblockingTransport in AbstractNonblockingServer.FrameBuffer that was changed from public to private



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1214557 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:48:22 +00:00
Jake Farrell
21f8dc900a Thrift-1090: Document the generation of a file called "Constants.java"
Client: java
Patch: Jake Farrell

Fixing test cases left out in initial patch. 


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210765 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 03:13:55 +00:00