Commit Graph

96 Commits

Author SHA1 Message Date
Guangxu Cheng 4256d38bac HBASE-21174 [REST] Failed to parse empty qualifier in TableResource#getScanResource
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-09-12 23:00:34 +08:00
zhangduo 329a7176fa HBASE-21132 Addendum fix compile error 2018-09-02 20:37:21 +08:00
Guangxu Cheng 1eea44c804 HBASE-21132 return wrong result in rest multiget 2018-09-02 14:33:56 +08:00
Sean Busbey 062d1dcf2b HBASE-21076 refactor TestTableResource to ask for a multi-region table instead of relying on a split operation.
Also correct how the test does string conversion for region names that include non-printable characters.

includes addendum.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Ted Yu <tyu@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>

(cherry picked from commit 6b18e39f30)
(cherry picked from commit 63f2d3cbdc)

 Conflicts:
	hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java
2018-08-22 19:46:01 -05:00
Bosko Devetak d79bb23c64 HBASE-21007 Memory leak in HBase REST server
Close the scanner leak in rest server when using the limit number of rows.

Example: when using uris like

        /sometable/*?limit=5&startrow=eGlND&endrow=eGlNE

where the scan range has more rows than the limit, the
rest server will start leaking memmory.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-07 12:40:40 -07:00
Ashish Singhi 3ea999d95c HBASE-20590 REST Java client is not able to negotiate with the server in the secure mode
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2018-06-04 14:17:16 +05:30
Ashish Singhi ca544a155c HBASE-20004 Client is not able to execute REST queries in a secure cluster
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2018-05-10 22:49:08 +05:30
Pankaj Kumar 2eae8104d1 HBASE-20231 Not able to delete column family from a row using RemoteHTable
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2018-04-04 10:16:11 +05:30
Guangxu Cheng 6f1dd258b1 HBASE-19483 Add proper privilege check for rsgroup commands
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-01-10 02:25:47 -08:00
Peter Somogyi 528eb10826 HBASE-19545 Replace getBytes(StandardCharsets.UTF_8) with Bytes.toBytes
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-27 20:15:01 +08:00
Andrew Purtell 1fe75f98d3 HBASE-19421 branch-1 does not compile against Hadoop 3.0.0 2017-12-04 15:48:38 -08:00
Peter Somogyi dce6285c21
HBASE-19188 Build fails on branch-1 using maven-3.5.2
Changing tomcat:jasper-runtime scope to compile in
hbase-server, hbase-rest and hbase-thrift

Signed-off-by: Michael Stack <stack@apache.org>
2017-11-29 12:28:09 -08:00
Andrew Purtell 3436ed957c HBASE-19239 Fix findbugs and error-prone issues
Fixes for hbase-rest
2017-11-17 17:13:03 -08:00
Mike Drob dbcda15ae7 HBASE-19240 more error-prone results
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-11-13 18:23:10 -08:00
Andrew Purtell 6961526573 HBASE-12350 Backport error-prone build support to branch-1 and branch-2 2017-11-09 15:34:09 -08:00
Chia-Ping Tsai 11a4eb9af9 HBASE-18690 Replace o.a.h.c.InterfaceAudience by o.a.h.h.c.InterfaceAudience 2017-10-23 10:38:06 +08:00
Sean Busbey 2dce7c1729 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-10-18 09:59:45 -05:00
Pankaj Kumar c48155a4d1 HBASE-18923 TestTableResource flaky on branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-10-09 16:52:10 -07:00
Guangxu Cheng 13da97d85e HBASE-17713 the interface '/version/cluster' with header 'Accept: application/json' return is not JSON but plain text
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-06 07:36:01 -07:00
Guangxu Cheng 6d378d912a HBASE-18671 Support Append/Increment in rest api
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-26 06:44:09 -07:00
Guangxu Cheng 016ead7936 HBASE-18647 Parameter cacheBlocks does not take effect in REST API for scan
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-24 09:44:22 -07:00
Chia-Ping Tsai 8b6cf09869 HBASE-18315 Eliminate the findbugs warnings for hbase-rest 2017-08-08 10:48:04 +08:00
Andrew Purtell 3dd55fa0c0 Set versions on branch-1 to 1.5.0-SNAPSHOT 2017-07-03 18:01:15 -07:00
tedyu 27eab2c6ef HBASE-16356 REST API scanner: row prefix filter and custom filter parameters are mutually exclusive (Ben Watson) 2017-05-10 06:05:25 -07:00
Niels Basjes fa4f638942 HBASE-17962 Improve documentation on Rest interface
(Excluded update to the ref guide, since it'll be copied from master branch prior to 1.4 release.)

Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-28 11:43:55 -05:00
zhangduo b973d3fd46 HBASE-17584 Expose ScanMetrics with ResultScanner rather than Scan 2017-03-20 16:32:20 +08:00
Andrew Purtell ccf1f17d78 HBASE-17722 Metrics subsystem stop/start messages add a lot of useless bulk to operational logging
Conflicts:
	hbase-spark/src/test/resources/log4j.properties
2017-03-03 12:35:21 -08:00
tedyu e3d70db4af HBASE-17649 REST API for scan should return 410 when table is disabled 2017-02-15 08:04:07 -08:00
tedyu 44f063350b HBASE-17603 REST API for scan should return 404 when table does not exist 2017-02-13 08:45:24 -08:00
Josh Elser bb3fe8a2fb HBASE-17424 Disable external entity parsing in RemoteAdmin 2017-01-06 16:46:25 -05:00
Ben Lau 6973304026 HBASE-16662 Fix open POODLE vulnerabilities
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-09-22 19:59:08 +00:00
Keith David Winkler b3ca9a9b2f HBASE-7621 REST client (RemoteHTable) doesn't support binary row keys
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-08-19 12:24:14 -07:00
stack 2933795822 HBASE-16385 Have hbase-rest pull hbase.rest.port from Constants.java (Yi Liang) 2016-08-10 16:16:41 -07:00
Ramkrishna 6578481447 HBASE-16299 Update REST API scanner with ability to do reverse scan
(Minwoo Kang)
2016-08-08 14:27:13 +05:30
Vivek ec99838b9c HBASE-15866 Split hbase.rpc.timeout into *.read.timeout and *.write.timeout
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/client/HTableWrapper.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHCM.java
2016-08-06 10:38:41 -07:00
Jerry He 541b9ff25c HBASE-15870 Specify columns in REST multi gets (Matt Warhaftig) 2016-06-20 13:57:25 -07:00
Enis Soztutar 4a0a9a20dd HBASE-15954 REST server should log requests with TRACE instead of DEBUG
Conflicts:
	hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java
	hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java
2016-06-06 11:06:52 -07:00
Sean Mackrory 878b1ea721 HBASE-15889. String case conversions are locale-sensitive, used without locale
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-06-06 12:14:20 -05:00
Phil Yang d5acbdd1e4 HBASE-15645 hbase.rpc.timeout is not used in operations of HTable
Signed-off-by: stack <stack@apache.org>
2016-04-26 10:52:12 -07:00
Enis Soztutar 51be6569e6 HBASE-15670 Add missing Snapshot.proto to the maven profile for compiling protobuf
Conflicts:
	hbase-protocol/pom.xml
	hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestBatchCoprocessorEndpoint.java
2016-04-22 11:44:14 -07:00
Andrew Purtell db83e631ad HBASE-15662 Hook up JvmPauseMonitor to REST server 2016-04-20 17:36:59 -07:00
tedyu 043ffd1db1 HBASE-15187 Integrate CSRF prevention filter to REST gateway 2016-04-15 13:46:30 -07:00
Enis Soztutar a9dd9c7b82 HBASE-15323 Hbase Rest CheckAndDeleteAPi should be able to delete more cells (Ajith)
Conflicts:
	hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java
2016-02-29 12:31:53 -08:00
Mikhail Antonov 998e339d6e HBASE-15342 create branch-1.3 and update branch-1 poms to 1.4.0-SNAPSHOT 2016-02-28 16:23:29 -08:00
Enis Soztutar d233e09c14 HBASE-15290 Hbase Rest CheckAndAPI should save other cells along with compared cell (Ajith) 2016-02-26 15:06:05 -08:00
Andrew Purtell a34db9383f HBASE-14192 Fix REST Cluster Constructor with String List 2016-02-10 12:34:10 -08:00
tedyu 7bd3b94db1 HBASE-14928 Start row should be set for query through HBase REST gateway involving globbing option 2015-12-04 12:05:19 -08:00
tedyu 66adeb3048 HBASE-14894 Fix misspellings of threshold in log4j.properties files for tests (Youngjoon Kim) 2015-11-28 10:10:27 -08:00
Matt Warhaftig 5b3a49d835 HBASE-14584 TestNamespacesInstanceModel fails on jdk8
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-11-17 13:15:59 -08:00
Elliott Clark 118d7b20b0 HBASE-14633 Try fluid width UI 2015-10-20 17:46:00 -07:00