Commit Graph

489 Commits

Author SHA1 Message Date
Michael Stack 64f417ab99 HBASE-10056 region_status.rb not adopted to 0.96 api
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546416 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 18:00:03 +00:00
Zhihong Yu 2a6407fff4 HBASE-10049 Small improvments in region_mover.rb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546393 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 16:23:26 +00:00
Michael Stack 12f0dce3ae HBASE-10051 rolling-restart.sh have old value of "zookeeper.znode.unassiged" config causing infinite loop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546215 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:26:36 +00:00
Michael Stack aa911ebc66 HBASE-10050 graceful_stop.sh syntax error
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546212 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:21:27 +00:00
eclark 9eb5a28520 HBASE-10045 HMaster's clear command could conflict with JMX ports
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1545892 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 00:52:12 +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
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
Enis Soztutar 2163ca98d1 HBASE-9788 [WINDOWS] Update rest server class name
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1533261 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 21:14:44 +00:00
Michael Stack ffeb4ab1e3 HBASE-9745 Append HBASE_CLASSPATH to end of Java classpath and use another env var for prefix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1531594 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 21:03:39 +00:00
mbertozzi 066638e6cc HBASE-9735 region_mover.rb uses the removed HConnection.getZooKeeperWatcher()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1530784 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 20:26:03 +00:00
nkeywal bba51c29c7 HBASE-9632 Put the shell in a maven sub module (hbase-shell) instead of hbase-server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1525641 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 16:40:51 +00:00
Enis Soztutar 1dca2b68ad HBASE-9560 bin/hbase clean --cleanAll should not skip data cleaning if in local mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1524202 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 20:12:10 +00:00
Michael Stack 6fa574e115 HBASE-9474 Cleanup of hbase script usage
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1522064 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:06:33 +00:00
Enis Soztutar 5e6b63d6fc HBASE-9483 [WINDOWS] Allow running upgrade tool from hbase.cmd
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1521579 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 18:36:35 +00:00
Michael Stack 47724c0791 HBASE-9412 Startup scripts create 2 .out files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1520165 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 22:51:16 +00:00
Enis Soztutar ff6d8620fc HBASE-9386 [WINDOWS] Small improvements to .cmd scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1519028 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 17:28:05 +00:00
Michael Stack 08247bfe76 HBASE-9311 Create a migration script that will move data from 0.94.x to 0.96
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516648 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:46:14 +00:00
Michael Stack a2e9e7e8f9 HBASE-8565 stop-hbase.sh clean up: backup master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516370 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 05:53:35 +00:00
jeffreyz ed864807e3 HBASE-9210: hbase shell -d doesn't print out exception stack trace
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516293 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 20:21:14 +00:00
Enis Soztutar 88afeb0c0e Set executable bit for bin/hbase-cleanup.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1515803 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 12:50:15 +00:00
Zhihong Yu 01f291e7b5 HBASE-9236 region_mover#getTable() should use TableName.toString() instead of Bytes.toString()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514552 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 01:20:59 +00:00
Michael Stack 49b79cd4ca HBASE-9152 Not able to find HMaster and HRegionServer processes with grep by process name on ps result because of large classpath as argument.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512560 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 04:10:03 +00:00
jyates d36db689ec HBASE-9097: Set HBASE_CLASSPATH before rest of the classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512460 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 19:26:12 +00:00
eclark 4c05a177b0 HBASE-9034 hbase-daemon.sh swallows start up errors -- ADD
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1508944 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 15:53:57 +00:00
eclark 2e13c675d5 HBASE-9034 hbase-daemon.sh swallows start up errors
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1506716 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 21:12:29 +00:00
Enis Soztutar 0e22f9ec78 HBASE-8200 Integration Test classes are not part of the default HBase classpath.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 23:09:42 +00:00
Enis Soztutar 559aa12a09 HBASE-8766 [WINDOWS] bin/hbase.cmd zkcli is broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1494732 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 18:37:26 +00:00
Michael Stack 955f87593e HBASE-8624 bin/local-{master-backup|regionservers}.sh doesn't take --config arg
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1494455 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 04:51:01 +00:00
Michael Stack a71464bf84 HBASE-8696 Fixup for logs that show when running hbase-it tests.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1494453 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 04:48:04 +00:00
Michael Stack 051f7843f2 HBASE-8716 Fixups/Improvements for graceful_stop.sh/region_mover.rb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1494449 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 04:42:15 +00:00
Zhihong Yu a4d58c4061 HBASE-8686 Extra left brace in bin/hbase (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1489635 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 21:43:43 +00:00
Michael Stack 17daaca0f3 HBASE-8658 hbase clean is deaf to the --config DIR option
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1488045 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 23:11:17 +00:00
Michael Stack bb783d7678 HBASE-7244 Provide a command or argument to startup, that formats znodes if provided
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1478962 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 20:30:44 +00:00
Enis Soztutar 518168296c HBASE-8456 HBase Windows scripts fail when there's a blank space in JAVA_HOME (Mostafa Elhemali)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1477351 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 21:26:55 +00:00
eclark 47cfaa205c HBASE-8431 Fix missing license headers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471823 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 03:20:51 +00:00
Michael Stack df95e96647 HBASE-5472 LoadIncrementalHFiles loops forever if the target table misses a CF -- REVERT -- ANOTHER OVERCOMMIT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471247 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 04:45:44 +00:00
Michael Stack e5094baacf HBASE-5472 LoadIncrementalHFiles loops forever if the target table misses a CF -- REAPPLY
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471246 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 04:44:09 +00:00
Michael Stack 0f30646656 HBASE-7579 HTableDescriptor equals method fails if results are returned in a different order; REVERT -- OVERCOMMITTED
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471053 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 17:17:04 +00:00
Michael Stack 2b32678420 HBASE-7579 HTableDescriptor equals method fails if results are returned in a different order
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471052 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 17:15:36 +00:00
Zhihong Yu d995e62b56 HBASE-8379 bin/graceful_stop.sh does not return the balancer to original state (Jean-Marc)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1470657 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 18:32:03 +00:00
jyates 5ca140fe2f HBASE-7817: Suggested JDWP debug options in hbase-env.sh are wrong (Vasu Mariyala)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464736 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:45:25 +00:00
Michael Stack 4781357ef3 HBASE-7908 Add jstack logs in hbase-common.sh when killing the server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1461167 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 15:07:08 +00:00
Michael Stack fbf0b65205 HBASE-8172 Fix ./bin/*.rb scripts or remove them
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1461163 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 15:03:37 +00:00
larsh 2f64d221e1 HBASE-8025 zkcli fails when SERVER_GC_OPTS is enabled (Dave Latham)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1456582 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:11:39 +00:00
Andrew Kyle Purtell a584f3de87 HBASE-8004. Creating an existing table from Shell does not throw TableExistsException (Jeffrey Zhong)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454222 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 02:56:10 +00:00
Zhihong Yu 229789adf2 HBASE-8030 znode path of online region servers is hard coded in rolling_restart.sh (Rajeshbabu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454170 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 23:45:38 +00:00
larsh a92c7f7612 HBASE-7153 print gc option in hbase-env.sh affects hbase zkcli (Dave Latham and LarsH)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453686 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:51:26 +00:00
nkeywal dac024559d HBASE-7838 HBase regionserver never stoping when running hbase-daemon.sh stop regionserver (Damien Hardy) - addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448997 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 11:33:11 +00:00
nkeywal 67ba5e3d50 HBASE-7838 HBase regionserver never stoping when running (Damien Hardy)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446116 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:07:05 +00:00
larsh 91f4605c0b HBASE-7785 rolling-restart.sh script unable to check expiration of master znode (Samir Ahmic)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443659 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 18:58:35 +00:00
Enis Soztutar 464a0ea2db HBASE-6815. [WINDOWS] Provide hbase scripts in order to start HBASE on Windows in a single user mode. (Slavik Krassovsky)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438764 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 23:33:22 +00:00
eclark a01797c761 HBASE-7637 hbase-hadoop1-compat conflicts with -Dhadoop.profile=2.0
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437803 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:45:36 +00:00
Michael Stack 19c00d1283 HBASE-7846 master pid file is not getting removed if we stop hbase from stop-hbase.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1431913 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 06:53:11 +00:00
jyates f0968bf21a HBASE-7091: Support custom GC options in hbase-env.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1424640 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 19:10:10 +00:00
jxiang 7d7cee302a HBASE-7314 Can't start REST/Thrift server if HBASE_JMX_OPTS not set
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1419955 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:57:31 +00:00
jxiang 044f53bf33 HBASE-7284 Rename rest server from Main to RESTServer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418407 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 17:32:52 +00:00
nkeywal ae684de8fd HBASE-7269 Testing in place does not work if not building with default profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418333 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 14:38:42 +00:00
jxiang a3500ea1c8 HBASE-7277 Thrift default JMX port should be 10103 instead of 8093
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1417530 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:07:50 +00:00
jxiang 5ac2f7b343 HBASE-7274 Enable JMX metrics collection for REST Server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1417527 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:05:27 +00:00
eclark e6053a6160 HBASE-7168 ADD in the script called 'hbase', we don't check for errors when generating the classpath with mvn
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1414868 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 19:05:15 +00:00
nkeywal 7e2e57f48e HBASE-7168 In the script called 'hbase', we don't check the errors when generating the classpath with mvn
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1412565 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:44:38 +00:00
Michael Stack 094e8d4420 HBASE-3925 Make Shell's -d and debug cmd behave the same
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1402923 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 01:37:04 +00:00
eclark 4d6f61bab8 HBASE-6961 In place scripts fail if mvn install hasn't been run
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396307 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 20:47:33 +00:00
Michael Stack 7bed701850 HBASE-6927 WrongFS using HRegionInfo.getTableDesc() and different fs for hbase.root and fs.defaultFS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1393234 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 23:13:58 +00:00
jxiang 1de90b853b HBASE-6803 script hbase should add JAVA_LIBRARY_PATH to LD_LIBRARY_PATH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 17:02:01 +00:00
Michael Stack e34ddabefa HBASE-6504 Adding GC details prevents HBase from starting in non-distributed mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1385026 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 07:32:52 +00:00
Michael Stack f125ca952c HBASE-6241 HBaseCluster interface for interacting with the cluster from system tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1385024 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 07:01:15 +00:00
Michael Stack 7705a19518 HBASE-6288 In hbase-daemons.sh, description of the default backup-master file path is wrong
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1381218 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 15:13:19 +00:00
Michael Stack 9ae8410f77 HBASE-3870 Purge copyrights from src headers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1380965 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 03:37:02 +00:00
Michael Stack 58cda3d938 HBASE-6567 make memory locking configuration of regioservers more flexible
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1374662 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 21:47:00 +00:00
Michael Stack b7f7c4ac09 HBASE-6553 Remove Avro Gateway
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1374484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:31:55 +00:00
Michael Stack a20fb9700f HBASE-6538 Remove copy_table.rb script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1374368 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 17:14:57 +00:00
Jonathan Hsieh ce86fdc233 HBASE-6525 bin/replication/copy_tables_desc.rb references non-existent class (David S. Wang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1371516 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 22:22:08 +00:00
Michael Stack 1eaed9925b HBASE-6450 HBase startup should be with MALLOC_MAX_ARENA set
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1365584 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:45:51 +00:00
Jonathan Hsieh e4622fe245 HBASE-6283 [region_mover.rb] Add option to exclude list of hosts on unload instead of just assuming the source node
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1358448 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 22:12:16 +00:00
Zhihong Yu f8f60a8360 HBASE-4391 Add ability to start RS as root and call mlockall (Matteo Bertozzi)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1353289 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 16:20:28 +00:00
Michael Stack 17a12aa8e5 HBASE-6087 Add hbase-common module
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1344510 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 23:51:44 +00:00
Zhihong Yu 3fa097b01c HBASE-6110 Fix TestInfoServers, patch v3 (Jesse)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1343110 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 21:45:03 +00:00
Zhihong Yu 99613b8746 HBASE-6110 Revert due to increased number of failed tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1343081 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 19:31:47 +00:00
Zhihong Yu a113f4c291 HBASE-6110 Fix TestInfoServers (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342995 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 05:29:43 +00:00
Michael Stack 390f32d79f HBASE-4336 Convert source tree into maven modules
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342856 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 05:56:04 +00:00
Michael Stack 4c61d4a965 HBASE-5926 Delete the master znode after a master crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340185 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 17:44:04 +00:00
Andrew Kyle Purtell 1df5bcad82 HBASE-6010. Security audit logger configuration for log4j
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339817 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 19:36:42 +00:00
Michael Stack e8f27c7408 HBASE-5939 Add an autorestart option in the start scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337418 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:49:35 +00:00
Michael Stack 49731c73dc HBASE-5844 Delete the region servers znode after a regions server crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 15:19:47 +00:00
Michael Stack d9c3cf0913 HBASE-5902 Some scripts are not executable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334019 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 15:08:45 +00:00
Michael Stack fc9c63f8c3 HBASE-5879 Enable JMX metrics collection for the Thrift proxy
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332450 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 22:26:31 +00:00
Michael Stack d7110681df HBASE-5844 Delete the region servers znode after a regions server crash; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:30:13 +00:00
Michael Stack 1ad0378006 HBASE-5863 Improve the graceful_stop.sh CLI help (especially about reloads)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329793 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 15:33:24 +00:00
Michael Stack fd4ce7149f HBASE-5844 Delete the region servers znode after a regions server crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329430 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 20:29:45 +00:00
mbautin a2c1c0cd3e [jira] [HBASE-5684] Make ProcessBasedLocalHBaseCluster run HDFS and make it more
robust

Summary:
Currently ProcessBasedLocalHBaseCluster runs on top of raw local filesystem. We
need it to start a process-based HDFS cluster as well. We also need to make the
whole thing more stable so we can use it in unit tests.

Also all logs of local HBase cluster daemons are now tailed to the primary log
of the unit test with the appropriate prefixes to make debugging easier.

This is a trunk diff. The 89-fb version is D2709.

Test Plan:
Run the new unit test multiple times (10x or 50x).
Run all unit tests.

Reviewers: tedyu, stack, lhofhansl, nspiegelberg, amirshim, JIRA

Reviewed By: tedyu

Differential Revision: https://reviews.facebook.net/D2757

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326036 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 01:25:27 +00:00
Zhihong Yu 2ecce6117e HBASE-5655 Cap space usage of default log4j rolling policy (Himanshu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307453 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 14:46:49 +00:00
Jonathan Hsieh c38f889627 HBASE-5603 rolling-restart.sh script hangs when attempting to detect expiration of /hbase/master znode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303184 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 22:46:54 +00:00
Michael Stack a728f94079 HBASE-5314 racefully rolling restart region servers in rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 06:30:15 +00:00
Michael Stack 180b41f518 HBASE-5286 bin/hbase's logic of adding Hadoop jar files to the classpath is fragile when presented with split packaged Hadoop 0.23 installation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1296661 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 16:45:25 +00:00
Michael Stack dace419238 HBASE-4403 Adopt interface stability/audience classifications from Hadoop AND HBASE-5502 region_mover.rb fails to load regions back to original server for regions only containing empty tables
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1295710 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 17:53:03 +00:00
Jonathan Hsieh 8bb23aef17 HBASE-5364 Fix source files missing license in 0.92 and trunk (Elliott Clark)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1242906 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:07:36 +00:00
Michael Stack ec7daf9413 HBASE-5221 bin/hbase script doesn't look for Hadoop jars in the right place in trunk layout -- REVERTED
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1242027 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 18:11:08 +00:00
Michael Stack 50f3e412a9 HBASE-5221 bin/hbase script doesn't look for Hadoop jars in the right place in trunk layout
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1241952 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 15:56:48 +00:00
Michael Stack a87e1ad952 HBASE-5307 Unable to gracefully decommission a node because of script error
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1238878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 00:28:46 +00:00
Michael Stack 4a8b0e9059 HBASE-5278 HBase shell script refers to removed 'migrate' functionality
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1235884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:47:13 +00:00
Michael Stack 0d61857881 HBASE-5245 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1234626 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 21:57:48 +00:00
Michael Stack 90a11d367f HBASE-5167 We shouldn't be injecting 'Killing [daemon]' into logs, when we aren't doing that.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1230267 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 21:44:20 +00:00
larsh 8f101720a2 HBASE-3924 Improve Shell's CLI help (Harsh J)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1225370 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 22:57:30 +00:00
Michael Stack 685762a691 HBASE-4982 graceful_stop.sh does not pass on the --config its passed to its internal invocations of other hbase scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1212050 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 19:19:45 +00:00
Michael Stack 44fd83732d HBASE-4884 Allow environment overrides for various HBase processes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207760 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 05:54:59 +00:00
Michael Stack ef52263373 HBASE-4854 it seems that CLASSPATH elements coming from Hadoop change HBase behaviour
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1205288 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 05:10:38 +00:00
Michael Stack a8ea368223 HBASE-4830 Regionserver BLOCKED on WAITING DFSClient$DFSOutputStream.waitForAckedSeqno running 0.20.205.0+
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1204770 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 01:06:03 +00:00
Kannan Muthukkaruppan 7dbde6f932 HBASE-4761 Add Developer Debug Options to HBase Config
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203409 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:53:42 +00:00
karthik 685fe23a00 [jira] [HBASE-4771] List HBase Region availability
Summary:
One critical feature necessary to completely automate
production pushes is the ability to recognize when HBase has
successfully made all regions available for reads/writes (step prior to
HBCK).  Created script to display region availability status and stall
until all onlined regions are actually available.

Test Plan: - bin/hbase org.jruby.Main bin/region_status.rb wait

Reviewers: stack, Kannan, JIRA

Reviewed By: stack

CC: stack

Differential Revision: 399

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203396 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:20:41 +00:00
Zhihong Yu 4664a4bab7 HBASE-4704 Differential Revision: #117 A JRuby script for identifying active master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1201828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 19:10:06 +00:00
Michael Stack ea5f9bf29a HBASE-4756 Enable tab-completion in HBase shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1199102 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 04:37:27 +00:00
Michael Stack f24e30f5e7 HBASE-4719 HBase script assumes pre-Hadoop 0.21 layout of jar files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196936 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 04:05:37 +00:00
Zhihong Yu 1b63b76e69 HBASE-1744 Thrift server to match the new java api (Tim Sell)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 04:26:26 +00:00
Michael Stack 04ace586de HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196168 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:56:35 +00:00
Michael Stack fcc01d275a HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196166 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:54:20 +00:00
Michael Stack 575cbc7108 HBASE-4642 Add Apache License Header
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1187998 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 23:03:32 +00:00
Michael Stack b3266f1f62 HBASE-4647 RAT finds about 40 files missing licenses
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1187975 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:19:23 +00:00
Michael Stack bbe544d2fa HBASE-4526 special case for stopping master in hbase-daemon.sh is no longer required
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1178462 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 17:14:23 +00:00
Michael Stack 7c9f2c7da0 HBASE-4445 Not passing --config when checking if distributed mode or not
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1172888 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 23:07:53 +00:00
Michael Stack 845b01f154 HBASE-4243 HADOOP_HOME should be auto-detected (Roman Shaposhnik) -- revert.. non-portable shell change
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166815 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 17:24:57 +00:00
Michael Stack c6d4b05ad7 HBASE-4243 HADOOP_HOME should be auto-detected
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166761 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:41:41 +00:00
Nicolas Spiegelberg 2eec39fa48 HBASE-4244 Refactor bin/hbase help
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1160890 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:37:32 +00:00
Michael Stack 38a046ea3c HBASE-4229 Replace Jettison JSON encoding with Jackson in HLogPrettyPrinter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1159914 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 20:27:09 +00:00
Michael Stack c9e11e0816 HBASE-3465 Hbase should use a HADOOP_HOME environment variable if available
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1150282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 05:21:02 +00:00
Zhihong Yu 3f66fb713f HBASE-4035 Fix local-master-backup.sh - parameter order wrong
(Lars George via Ted Yu)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1139682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 00:52:36 +00:00
Michael Stack 9a047f1343 HBASE-3941 'hbase version' command line should print version info
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:06:02 +00:00
Michael Stack 9b22cb0f0e HBASE-3941 'hbase version' command line should print version info -- REVERT MISTAKEN COMMIT OF WRONG PATCH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:04:47 +00:00
Michael Stack 7a55ec9a25 HBASE-3941 'hbase version' command line should print version info
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:03:54 +00:00
Michael Stack 9e4d90cdf1 HBASE-3895 Fix order of parameters after HBASE-1511
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1124358 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 18:03:39 +00:00
Michael Stack 551ea3211f HBASE-3882 hbase-config.sh needs to be updated so it can auto-detects the sun jre provided by RHEL6
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1103239 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 21:51:29 +00:00
Michael Stack 4dc83021b1 HBASE-3881 Add disable balancer in graceful_stop.sh script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1102857 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 18:37:55 +00:00
Michael Stack 803a91646c HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1089666 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 23:14:01 +00:00
Michael Stack 06a21879a4 HBASE-3071 Graceful decommissioning of a regionserver
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1088879 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 04:08:24 +00:00
Michael Stack 67a3bf92b7 Added note on nproc and changed it so we print ulimit -a instead of ulimit -n into out server logs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1087188 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 05:33:28 +00:00
Todd Lipcon 561deab8fc HBASE-3703. hbase-config.sh needs to be updated so it can auto-detect the sun jdk provided by RHEL6
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085798 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 20:38:21 +00:00
Michael Stack bb28add83e HBASE-3575 Update rename table script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1084062 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 03:18:12 +00:00
Michael Stack 692552597a HBASE-3440 Clean out load_table.rb and make sure all roads lead to completebulkload tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1082247 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:26:29 +00:00
Michael Stack 30d63d550f HBASE-3533 Allow HBASE_LIBRARY_PATH env var to specify extra locations of native lib
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1080459 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 06:04:18 +00:00
Michael Stack d336634bab HBASE-3499 Users upgrading to 0.90.0 need to have their .META. table updated with the right MEMSTORE_SIZE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068277 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 07:01:13 +00:00
Todd Lipcon 69eec35098 HBASE-3511. Allow rolling restart to apply to only RS or only masters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068158 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 21:57:47 +00:00
Michael Stack ce16f762e9 HBASE-3430 hbase-daemon.sh should clean up PID files on process stop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1056515 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 21:18:31 +00:00
Jean-Daniel Cryans 0f2700df67 HBASE-3383 [0.90RC1] bin/hbase script displays "no such file" warning on
target/cached_classpath.txt


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1052093 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:02:42 +00:00
Michael Stack 5964303163 HBASE-2936 Differentiate between daemon & restart sleep periods
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1043162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 18:54:32 +00:00
Jean-Daniel Cryans 65979de1fb HBASE-3216 Move HBaseFsck from client to util
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1033736 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 21:46:14 +00:00
Jonathan Gray add2f82ca7 HBASE-3126 Force use of 'mv -f' when moving aside hbase logfiles
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029177 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 20:10:31 +00:00
Michael Stack 89a5eb519a HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reapply rolling-restart.bin improvments
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026532 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:47:24 +00:00
Michael Stack bd29da76b8 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reverse mistaken commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026531 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:46:48 +00:00
Michael Stack 402b33140d HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:45:42 +00:00
Michael Stack f36d48b045 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:54:21 +00:00
Michael Stack 43dd80f935 Enable execute bit on rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025766 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:26:24 +00:00
Jean-Daniel Cryans a7d61ec5b5 HBASE-2201 JRuby shell for replication
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 00:21:08 +00:00
Todd Lipcon 2ecdd83e0d HBASE-3002. Fix zookeepers.sh to work properly with strange JVM options
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000698 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 04:10:55 +00:00
Michael Stack 1456bfff76 HBASE-3000 Add "hbase classpath" command to dump classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999062 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:14:48 +00:00
Michael Stack 98b9448162 HBASE-3000 Add "hbase classpath" command to dump classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999060 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:13:43 +00:00
Michael Stack d153ec95da HBASE-3010 Can't start/stop/start... cluster using new master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 00:51:05 +00:00
Michael Stack 5d8b73585f HBASE-2979 Fix failing TestMultParrallel in hudson build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:10:43 +00:00
Todd Lipcon 1805c1b3b1 chmod master-backup.sh to be executable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993175 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:23:58 +00:00
Michael Stack f521309532 HBASE-2692 Master rewrite and cleanup for 0.90
Patch brought over from 0.90_master_rewrite branch.

Replication test is broke as are some of the rest tests.
Others should be passing.

Some of the changes made in this fat patch:

+ In HLogKey, we now use encoded region name instead of full region name.
+ On split, daughters are opened on the parent's regionserver; let the new balancer
sort them out later when it cuts in.
+ Added move region from one server to another as well as enable/disable balancer.
+ All .META. and -ROOT- edits go via new *Editor and *Reader classes -- no more
do we have 5 different ways of reading and editing .META.
+ Rather than 3 different listeners to hlog each w/ own way of listening, instead
we only have WALObserver now.
+ New Server Interface that has whats common to HMaster and RegionServer. Also
new Services Interface.  This should make test writing cleaner making it so
less need of full cluster context testing anything -- e.g. the new
Interfaces are good w/ Mockito.
+ New balacner that runs on a period and takes into consideration all load
across cluster.
+ Table online/offline is now a flag in ZK; the offline flag on a region is
just used splitting from here on out.
+ Moved fixup of failed add of daughter edits to .META. into shutdown server
recover code (It used to be in basescanner).
+ The heartbeat now sends master the regionserver load and is used sending
shutdown message from master to regionserver ONLY; all other messages are
via zk (HMsg is pretty bare now).
+ No more Worker in RS and ToDoQueue in master.  Both in master and regionserver
we use handlers instead run out of Executors.
+ Client can not send split, flush, compact direct to RS; no longer does
it go via master.
+ Server shutdown runs differently now. All are watching a flag in zk.
When RS notices its gone, it closes all user-space regions. If thats all
it was carrying, then it goes down.  Otherwise, waits on master to send
the shutdown msg via heartbeat.



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 23:51:44 +00:00
Michael Stack 8d91604bc8 HBASE-1660 need a rolling restart script -- forgot to add scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:36:47 +00:00
Michael Stack b3baa8aca7 HBASE-1660: script to handle rolling restarts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 04:12:09 +00:00
Michael Stack e30ddb01aa HBASE-2870: Add Backup CLI Option to HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984116 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 16:54:40 +00:00
Michael Stack 2db593c8c6 HBASE-2871 Make 'start|stop' commands symmetric for Master & Cluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982123 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 05:27:09 +00:00
Michael Stack b0e56b5cfa HBASE-2879 Offer ZK CLI outside of HBase Shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979881 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 21:50:05 +00:00
Michael Stack b6282f5508 HBASE-1511 Pseudo distributed mode in LocalHBaseCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965672 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 22:59:51 +00:00
Michael Stack 3af146e302 Change order in which usage shows commands -- show servers first
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965298 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 21:55:49 +00:00
Michael Stack 3ada3242b4 HBASE-2846 Make rest server be same as thrift and avro servers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965160 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:24:17 +00:00
Michael Stack 00ed966728 HBASE-2831 Fix '' path duplication in setup scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963539 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 00:24:12 +00:00
Jean-Daniel Cryans 03933720fa HBASE-2223 Handle 10min+ network partitions between clusters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@959479 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 00:25:50 +00:00
Michael Stack 80ab0f9703 HBASE-7 Provide a HBase checker and repair tool similar to fsck
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957040 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 21:42:13 +00:00
Ryan Rawson 84378fa8bf HBASE-2400 new connector for Avro RPC access to HBase cluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954175 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:53:50 +00:00
Michael Stack bdcc7f126a HBASE-2703 ui not working in distributed context
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953495 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:21:45 +00:00
Michael Stack 677738d3ed HBASE-2531 32-bit encoding of regionnames waaaaaaayyyyy too susceptible to hash clashes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949919 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 03:50:57 +00:00
Todd Lipcon 12855081cc HBASE-2632. Shell should autodetect terminal width
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:49:50 +00:00
Michael Stack 41a4c36ec9 HBASE-7 Provide a HBase checker and repair tool similar to fsck; add handling of disable parents
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948203 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 20:50:04 +00:00
Michael Stack 49c48dde79 HBASE-7 Provide a HBase checker and repair tool similar to fsck; added simple .META. fixup script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947857 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 23:18:13 +00:00
Michael Stack 897e903d90 HBASE-2577 Remove 'core' maven module; move core up a level hbase-issues
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946736 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 18:10:57 +00:00
Michael Stack 3d5c3a66b3 HBASE-2583 Make webapps work in distributed mode again and make webapps deploy at / instead of at /webapps/master/master.jsp
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946571 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 09:02:18 +00:00
Michael Stack 7e51b33b00 HBASE-2572 hbase/bin/set_meta_block_caching.rb:72: can't convert Java::JavaLang::String into String (TypeError) - little issue with script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946280 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 17:03:38 +00:00
Michael Stack ca482b185b HBASE-2562 bin/hbase doesn't work in-situ in maven; fix spelling mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946009 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 03:42:45 +00:00
Michael Stack ea52d836b4 HBASE-2449 Local HBase does not stop properly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945836 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:24:36 +00:00
Michael Stack 302ce75933 HBASE-2562 bin/hbase doesn't work in-situ in maven
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945487 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 04:22:37 +00:00
Michael Stack 960a9c0d7a HBASE-2562 bin/hbase doesn't work in-situ in maven
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945486 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 04:12:04 +00:00
Michael Stack f6fb68ab0c HBASE-2460 add_table.rb deletes any tables for which the target table name is a prefix
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@935114 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 02:49:02 +00:00
Michael Stack 2a8ed43ac1 HBASE-2451 .META. by-passes cache; BLOCKCACHE=>'false'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@934654 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 00:21:29 +00:00
Andrew Kyle Purtell a03976103d added copyright notices
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@928089 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 22:45:48 +00:00
Michael Stack dfc23200bd HBASE-2313 Nit-pick about hbase-2279 shell fixup, if you do get with non-existant column family, throws lots of exceptions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@923894 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 17:43:09 +00:00
Michael Stack dd8456b1be HBASE-2316 Need an ability to run shell tests w/o invoking junit
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922408 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:59:35 +00:00
Michael Stack 4770ea178a HBASE-2279 Hbase Shell does not have any tests
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922110 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 01:36:04 +00:00
Michael Stack f3f7b0622f HBASE-2287 TypeError in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922074 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 23:45:23 +00:00
Michael Stack 6d0d1cc9a9 HBASE-2308 Fix the bin/rename_table.rb script, make it work again
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@921624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:27:30 +00:00
Michael Stack e325ccd9bf HBASE-2281 Hbase shell does not work when started from the build dir
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919083 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 17:43:05 +00:00
Lars George ffac8a385c HBASE-2274 Hbase Shell hcd() method is broken by the replication scope parameter (Alexey Kovyrin via Lars George)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@917162 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 10:47:07 +00:00
Michael Stack 85c53c5d35 HBASE-2160 Can't put with ts in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@902269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 21:12:30 +00:00
Jean-Daniel Cryans f700187546 HBASE-2057 Cluster won't stop (Gary Helmling and JD via JD)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@902239 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:26:09 +00:00
Ryan Rawson fb6ed7f687 HBASE-2109
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@901034 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 02:05:04 +00:00
Ryan Rawson 44572e6a2d HBASE-2147 - run zookeeper in the same jvm as master during non-distributed mode
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@901030 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 01:42:12 +00:00
Michael Stack 055580dee1 HBASE-2130 bin/* scripts - not to include lib/test/**/*.jar
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@900210 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 20:16:54 +00:00
Michael Stack 05e631f7d9 HBASE-2111 Move to ivy broke our being able to run in-place; i.e. ./bin/start-hbase.sh in a checkout
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@898132 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 00:23:42 +00:00
Michael Stack 73aa65deb3 HBASE-2035 Binary values are formatted wrong in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@896738 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 02:25:12 +00:00