Skip to content

Instantly share code, notes, and snippets.

View kovyrin's full-sized avatar

Oleksiy Kovyrin kovyrin

View GitHub Profile
Index: src/searchd.cpp
===================================================================
--- src/searchd.cpp (revision 2028)
+++ src/searchd.cpp (working copy)
@@ -990,7 +990,7 @@
void sigterm ( int )
{
// in child, bail out immediately
- if ( !g_bHeadDaemon && g_bAcceptUnlocked )
+ if ( !g_bHeadDaemon && g_bAcceptUnlocked && g_eWorkers != MPM_PREFORK )
1) Install pre-requisites
$ sudo port install libiconv slang2
2) Download the sources from http://www.midnight-commander.org/downloads
3) Configure the build:
./configure --prefix=/opt/mc --with-screen=slang --enable-extcharset --enable-charset --with-libiconv-prefix=/opt/local --with-slang-includes=/opt/local/include --with-slang-libs=/opt/local/lib
module Shell
module Commands
class Alter < Command
def help
return <<-EOF
Alter column family schema; pass table name and a dictionary
specifying new column family schema. Dictionaries are described
on the main help command output. Dictionary must include name
of column family to alter. For example,
~/work/git/hbase (HBASE-2279)
[00:04] $ git diff --stat trunk HEAD
.gitignore | 1 +
Rakefile | 8 +
bin/Formatter.rb | 145 -----
bin/HBase.rb | 676 --------------------
bin/hirb.rb | 454 ++------------
bin/ruby_test_runner.rb | 12 +
core/src/main/ruby/hbase.rb | 67 ++
core/src/main/ruby/hbase/admin.rb | 342 ++++++++++
~/work/git/hbase (HBASE-2279)
[00:06] $ ./bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version: 0.21.0-SNAPSHOT, rUnknown, Wed Mar 3 13:39:18 EST 2010
hbase(main):001:0> help
There are few groups of commands in Hbase
Use help 'group_name' (e.g. help 'general') to get help on all commands in a group
hbase(main):003:0> help 'ddl'
TABLES MANAGEMENT COMMANDS
--------------------------------------------------------------------------------
COMMAND: alter
Alter column family schema; pass table name and a dictionary
specifying new column family schema. Dictionaries are described
on the main help command output. Dictionary must include name
of column family to alter. For example,
[INFO] ------------------------------------------------------------------------
[INFO] Building HBase Contrib - Multi Datacenter Replication
[INFO] task-segment: [dependency:build-classpath]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.apache.hbase:hbase-core:0.21.0-SNAPSHOT: checking for updates from asf-snapshots
Downloading: https://repository.apache.org/content/repositories/snapshots//org/apache/hbase/hbase-core/0.21.0-SNAPSHOT/hbase-core-0.21.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.apache.hbase:hbase-core:jar:0.21.0-SNAPSHOT' in repository asf-snapshots (https://repository.apache.org/content/repositories/snapshots/)
Downloading: https://repository.apache.org/content/repositories/snapshots//org/apache/hbase/hbase-core/0.21.0-SNAPSHOT/hbase-core-0.21.0-SNAPSHOT-tests.jar
[INFO] Unable to find resource 'org.apache.hbase:hbase-core:jar:tests:0.21.0-SNAPSHOT' in repository asf-snapshots (https://repository.apache.org/content/repositories/sna
<plugins>
<plugin>
<groupId>org.jtestr</groupId>
<artifactId>jtestr</artifactId>
<version>0.5</version>
<configuration>
<tests>src/test/ruby</tests>
<logging>DEBUG</logging>
</configuration>
<executions>
Total: 153 tests, 0 failures, 0 errors, 0 pending
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Tue Mar 09 17:41:30 EST 2010
[INFO] Final Memory: 51M/81M
[INFO] ------------------------------------------------------------------------
[00:56] $ traceroute ping-chi01.plurk.com
traceroute to ping-chi01.plurk.com (74.120.121.20), 64 hops max, 52 byte packets
1 10.0.1.1 (10.0.1.1) 0.907 ms 0.378 ms 0.989 ms
2 10.225.152.1 (10.225.152.1) 8.571 ms 8.439 ms 7.991 ms
3 * * *
4 69.63.248.81 (69.63.248.81) 9.659 ms 10.542 ms 7.710 ms
5 gw01.esna.phub.net.cable.rogers.com (66.185.80.197) 22.554 ms 19.398 ms 21.842 ms
6 * * *
7 vl27.core4.chi01.steadfast.net (208.100.32.29) 20.611 ms 19.976 ms 19.926 ms
8 ping-chi01.plurk.com (74.120.121.20) 21.506 ms 20.753 ms 22.249 ms