Commit Graph

7944 Commits

Author SHA1 Message Date
nkeywal d9b983bb5e HBASE-10001 Add a coprocessor to help testing the performances without taking into account the disk i/o
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543779 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 11:33:34 +00:00
anoopsamjohn 2e5823f61d HBASE-9998 Fix javadoc warnings induced by commits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543723 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 07:25:01 +00:00
ndimiduk da89846cf7 HBASE-9893 Incorrect assert condition in OrderedBytes decoding
Correct an invalid assumption in remaining assertion code around
OrderedBytes#decodeVarBlob. When an encoded value contains a 1-bit in its LSB
position and the length of the encoded byte array is divisible by 7, the value
remaining in variable t will be 0x80, resulting in the failed assertion coming
out of the decoding loop. This patch preserves the assertion for the general
case by resetting 't' at the conclusion of the 7-byte cycle.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543699 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 02:53:51 +00:00
Enis Soztutar 560f000424 HBASE-9961 [WINDOWS] Multicast should bind to local address. ADDENDUM to fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543687 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 01:19:04 +00:00
mbertozzi e0c324f9d5 HBASE-10004 Some fixes for scoping sequence Ids to region level (Himanshu Vashishtha)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543658 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 00:09:09 +00:00
nkeywal 56d089a3e4 HBASE-9989 Add a test on get in TestClientNoCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543514 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 17:35:50 +00:00
anoopsamjohn 335071f342 HBASE-9995 Not stopping ReplicationSink when using custom implementation for the ReplicationSink
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543501 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 17:10:32 +00:00
Michael Stack 74f6e25c8f HBASE-5945 Reduce buffer copies in IPC server response path
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543458 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 15:39:35 +00:00
nkeywal dc8ecd9a9a HBASE-9959 Remove some array copy - server side
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543434 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 14:01:30 +00:00
nkeywal b2582665f1 HBASE-9988 DOn't use HRI#getEncodedName in the client
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543427 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 13:38:49 +00:00
anoopsamjohn 5a6a0fd78b HBASE-7663 [Per-KV security] Visibility labels
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543314 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 05:39:47 +00:00
Zhihong Yu dc20322a6a HBASE-9994 ZeroCopyLiteralByteString.wrap() should be used in place of ByteString.copyFrom()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543309 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 05:01:58 +00:00
Zhihong Yu 51d55f6dd9 HBASE-9949 Addendum takes out test infrastructure and new test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543305 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 04:14:26 +00:00
Zhihong Yu 44cb861092 HBASE-9924 Avoid potential filename conflict in region_mover.rb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543225 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 23:11:08 +00:00
Enis Soztutar a26dd714b5 HBASE-8369 MapReduce over snapshot files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543195 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 22:17:39 +00:00
mbertozzi c28ac79c82 HBASE-9973 Users with 'Admin' ACL permission will lose permissions after upgrade to 0.96.x from 0.94.x or 0.92.x (Himanshu Vashishtha)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543179 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 21:44:35 +00:00
Jonathan Hsieh 4aa3600b7c HBASE-9831 'hbasefsck.numthreads' property isn't passed to hbck via cmdline -D option (Takeshi Miao)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543137 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 20:21:25 +00:00
nkeywal 76e1e210ea HBASE-9982 TestClientNoCluster should use random numbers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543053 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 15:08:03 +00:00
nkeywal fb7fb4fa41 HBASE-9987 Remove some synchronisation points in HConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543051 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 15:02:43 +00:00
Michael Stack ce8aeae6db Add note on https://issues.apache.org/jira/browse/HBASE-8163 -- config for write-heavy situation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542903 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 05:49:04 +00:00
Michael Stack 2eae9d02a2 HBASE-9985 Add HBase shell command to start/stop tracing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542894 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 05:19:30 +00:00
Michael Stack 26ea61d39f HBASE-9985 Add HBase shell command to start/stop tracing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542893 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 05:19:17 +00:00
ndimiduk e1a3d71738 HBASE-8438 Extend bin/hbase to print a "mapreduce classpath"
$ ./bin/hbase mapredcp --help
Usage: hbase mapredcp [-Dtmpjars=...]
  Construct a CLASSPATH containing dependency jars required to run a mapreduce
  job. By default, includes any jars detected by TableMapReduceUtils. Provide
  additional entries by specifying a comma-separated list in tmpjars.

$ ./bin/hbase mapredcp | tr ':' '\n'
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/netty-3.6.6.Final.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-hadoop-compat-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/protobuf-java-2.5.0.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/guava-12.0.1.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/htrace-core-2.01.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-protocol-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-client-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/zookeeper-3.4.5.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-server-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-common-0.97.0-SNAPSHOT.jar


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542811 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 20:49:24 +00:00
nkeywal b0574a9528 HBASE-9869 Optimize HConnectionManager#getCachedLocation - remove SoftValueSortedMap
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542699 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 10:45:11 +00:00
nkeywal cd2db482bc HBASE-9983 Lower the memory footprint of HRegionLocation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542694 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 10:29:01 +00:00
nkeywal c6e6ab4e3e HBASE-9869 Optimize HConnectionManager#getCachedLocation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542688 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 10:09:16 +00:00
Zhihong Yu 2e0f80c333 HBASE-9949 Fix the race condition between Compaction and StoreScanner.init
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542519 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 14:54:04 +00:00
anoopsamjohn b33e4daa2f HBASE-9975 Not starting ReplicationSink when using custom implementation for the ReplicationSink
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542472 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 07:40:51 +00:00
anoopsamjohn c2c6db5f00 HBASE-9970 HBase BulkLoad, table is creating with the timestamp key also as a column to the table. (Sreenivasulu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542460 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 03:45:17 +00:00
Enis Soztutar 18e018b3d9 HBASE-9961 [WINDOWS] Multicast should bind to local address
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542425 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 22:52:25 +00:00
Enis Soztutar 16b799dae5 HBASE-9908 [WINDOWS] Fix filesystem / classloader related unit tests - ADDENDUM patch to fix TestImportTsv
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542422 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 22:46:58 +00:00
Zhihong Yu 2859897de6 HBASE-9954 Incorporate HTTPS support for HBase
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542392 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 20:44:55 +00:00
ndimiduk 4b87240aa3 HBASE-9165 [mapreduce] Modularize building dependency jars
- Separate adding HBase and dependencies from adding other job
   dependencies, and expose it as a separate method that other
   projects can use (for PIG-3285).
 - Explicitly add hbase-server to the list of dependencies we ship
   with the job, for users who extend the classes we provide (see
   HBASE-9112).
 - Add integration test for addDependencyJars.
 - Code reuse for TestTableMapReduce.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542341 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:43:53 +00:00
jxiang aecabe7518 HBASE-9947 Add CM action for online compression algorithm change
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542323 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 16:56:00 +00:00
sershe e1b3edeb61 HBASE-3787 Increment is non-idempotent but client retries RPC ADDENDUM add licence
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542169 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 04:37:46 +00:00
sershe 6119df9ccb HBASE-3787 Increment is non-idempotent but client retries RPC
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542168 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 04:36:30 +00:00
nkeywal db4f10c208 HBASE-9963 Remove the ReentrantReadWriteLock in the MemStore
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541880 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 11:16:20 +00:00
Michael Stack e15f36cdde HBASE-9710 Use the region name, not the encoded name, when region is not on current server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541820 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 05:01:29 +00:00
jxiang 5583310bb1 HBASE-9757 Reenable fast region move in SlowDeterministicMonkey
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541811 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 04:37:33 +00:00
zjushch 5a7fa744f8 HBASE-9810 Global memstore size will be calculated wrongly if replaying recovered edits throws exception
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541783 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 02:13:57 +00:00
Andrew Kyle Purtell 61cabc3b2c HBASE-9962. Improve tag iteration
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541772 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 01:00:10 +00:00
Andrew Kyle Purtell 1545a952fa HBASE-9960. Fix javadoc for CellUtil#tagsIterator()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541771 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 00:53:48 +00:00
Michael Stack ffd91d7e90 HBASE-9907 Rig to fake a cluster so can profile client behaviors
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541703 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 20:49:59 +00:00
nkeywal c5a3048fec HBASE-9958 Remove some array copy, change lock scope in locateRegion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541688 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 20:11:03 +00:00
larsh feca3e26c4 HBASE-9849 [REST] Forbidden schema delete in read only mode (Julian Zhou)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541644 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 18:08:54 +00:00
jxiang fe5865d9e3 HBASE-9870 HFileDataBlockEncoderImpl#diskToCacheFormat uses wrong format
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541629 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 17:31:02 +00:00
larsh 2a057457d0 HBASE-9138 getHaseIntegrationTestingUtility() is misspelled
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541328 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 00:00:17 +00:00
larsh 1427e3a431 HBASE-9956 Remove keyLength cache from KeyValue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541312 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 23:30:20 +00:00
Zhihong Yu 4837c424f3 HBASE-4654 [replication] Add a check to make sure we don't replicate to ourselves (Demai)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541279 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 22:31:56 +00:00
larsh 60ad668311 HBASE-9865 Reused WALEdits in replication may cause RegionServers to go OOM
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1541265 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 22:13:01 +00:00