hbase ERROR: wrong number of arguments (3 for 4)

hbase(main):036:0> get ‘ddl‘, ‘example‘, ‘info:age‘
COLUMN                                               CELL
info:age                                            timestamp=1436787562408, value=\x00\x00\x00\x00\x00\x00\x00\x03
1 row(s) in 0.0160 seconds

hbase(main):037:0> get_counter ‘ddl‘, ‘example‘, ‘info:age‘

ERROR: wrong number of arguments (3 for 4)

Here is some help for this command:
Return a counter cell value at specified table/row/column coordinates.
A cell cell should be managed with atomic increment function oh HBase
and the data should be binary encoded. Example:

hbase> get_counter ‘ns1:t1‘, ‘r1‘, ‘c1‘
  hbase> get_counter ‘t1‘, ‘r1‘, ‘c1‘

The same commands also can be run on a table reference. Suppose you had a reference
t to table ‘t1‘, the corresponding command would be:

hbase> t.get_counter ‘r1‘, ‘c1‘

hbase(main):041:0> get_counter ‘ddl‘, ‘example‘, ‘info:age‘, ‘dummy‘   <----加上dummy就对了
COUNTER VALUE = 3

hbase(main):042:0> get ‘ddl‘, ‘example‘, ‘info:age‘
COLUMN                                               CELL
info:age                                            timestamp=1436787562408, value=\x00\x00\x00\x00\x00\x00\x00\x03
1 row(s) in 0.0210 seconds

hbase(main):043:0> truncate ‘ddl‘
Truncating ‘ddl‘ table (it may take a while):
- Disabling table...
- Dropping table...
- Creating table...
0 row(s) in 2.6630 seconds

hbase(main):044:0>

时间: 2024-10-10 23:13:29

hbase ERROR: wrong number of arguments (3 for 4)的相关文章

Error Code: 1318. Incorrect number of arguments for PROCEDURE student.new_procedure; expected 0, got

1.错误描述 13:58:20 call new_procedure('2000','zhangsan') Error Code: 1318. Incorrect number of arguments for PROCEDURE student.new_procedure; expected 0, got 2 0.000 sec 2.错误原因 CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`() BEGIN set @a=1

Error Code: 1318. Incorrect number of arguments for PROCEDURE company.new_procedure; expected 2, got

1.错误描述 20:27:34 call new_procedure(20150112) Error Code: 1318. Incorrect number of arguments for PROCEDURE company.new_procedure; expected 2, got 1 0.000 sec 2.错误原因 CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`(in `departId` int,out `nu

check_jmx4perl 1.10 findDeadlockedThreads ERROR &quot;Invalid number of operation arguments&quot;

Hi, The problem is:$ check_jmx4perl --url http://localhost:8081/jolokia --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-deadlock --string 1 --critical \!no-deadlock --critical 10UNKNOWN - Error: 400 java.lang.IllegalArgum

Error Code 1318 Incorrect number of arguments for PROCEDUR

1.错误描述 13:58:20 call new_procedure('2000','zhangsan') Error Code: 1318. Incorrect number of arguments for PROCEDURE student.new_procedure; expected 0, got 2 0.000 sec 2.错误原因 CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`() BEGIN set @a=1

wrong number of arguments,java方法反射时数组参数的坑

java方法中只有一个参数是数组,反射的时候我们不能想当然的传歌数组进去,传数组进去的时候表示多个参数. 两个数组不是一个意思啊. 我们应该把数组转为objet,这样才表示一个参数. import java.lang.reflect.Method; public class MethodTest { public void a(String[] args) { System.out.println("a"); } public static void main(String[] arg

hbase ERROR: Can&#39;t get master address from ZooKeeper; znode data == null问题解答

当启动hbase后查看日志出现类似下面的错误日志,并且hbase shell进入hbase后,list下会出现 (ERROR: Can't get master address from ZooKeeper; znode data == null) 2015-12-02 10:56:13,413 INFO  [master:master:60000] catalog.CatalogTracker: Failed verification of hbase:meta,,1 at address=m

HBase Error: connection object not serializable

HBase Error: connection object not serializable 想在spark driver程序中连接HBase数据库,并将数据插入到HBase,但是在spark集群提交运行过程中遇到错误:connection object not serializable 详细的错误: Exception in thread "main" java.io.NotSerializableException: DStream checkpointing has been

Jmeter BeanShell 引用变量报错jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval Parse error at line 14, column 181 : Error or number too big for integer

如果你通过CSV Data Set Config或者_StringFromFile函数来参数化你的请求,需要特别注意当参数为纯数字时,jmeter会默认将其识别成int型数据,说明jmeter并不是默认以String类型对数据进行读取的:范围-2147483648到2147483647,如果超出这个范围(例如2147483648这个数字):jmeter控制台则会抛出如下异常:jmeter.util.BeanShellInterpreter: Error invoking bsh method:

反射报错java.lang.IllegalArgumentException: wrong number of arguments

class Person{ private String name ; private String sex ; public Person(){ System.out.println("c"); } public Person(String c1){ this.name =c1; System.out.println("c1"+c1); } public Person(String c1,String c2){ this.name =c1; this.sex =c