2013年12月28日

HBase rest

摘要: HBase Rest 是建立在HBase java 客户端基础之上的,提供的web 服务。它存在的目的是给开发者一个更多的选择。 1.启动rest 服务 (1)hbase rest start 用默认的方式启动rest服务,端口是8080。 (2)hbase rest s... 阅读全文

posted @ 2013-12-28 23:26 代码王子 阅读(409) 评论(0) 推荐(0)

hbase mlockall

摘要: mlockall 头文件:#include 函数原型:int mlockall(int flags); flags: MCL_CURRENT ——Lock all pages which are currently mapped into the address space ... 阅读全文

posted @ 2013-12-28 22:18 代码王子 阅读(366) 评论(0) 推荐(0)

Jamon

摘要: 1.Jamon java 模版引擎 eclipse 插件 http://www.jamon.org/eclipse/updates 2.Jamon 官方网站 http://www.jamon.org/ 3.hbase web 监控界面就是用它做的模版引擎 阅读全文

posted @ 2013-12-28 22:02 代码王子 阅读(241) 评论(0) 推荐(0)

java 调用JRuby

摘要: 1.core package vanilla;import org.jruby.embed.ScriptingContainer;public class HelloWorld { private HelloWorld() { ScriptingContainer c... 阅读全文

posted @ 2013-12-28 21:39 代码王子 阅读(441) 评论(0) 推荐(0)

hbase thrift 访问队列

摘要: public class CallQueue implements BlockingQueue { private static Log LOG = LogFactory.getLog(CallQueue.class); private final BlockingQueue unde... 阅读全文

posted @ 2013-12-28 20:59 代码王子 阅读(136) 评论(0) 推荐(0)

hbase thrift 定义

摘要: /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with... 阅读全文

posted @ 2013-12-28 20:40 代码王子 阅读(263) 评论(0) 推荐(0)

导航