在使用phoenix做hbase的相关測试的时候.会出现 char may not be null 的错误. 这是因为建表和导入的数据不匹配导致的.主要是char的定义,假如一个字段定义为char类型,可是插入的数据是"",那么就会出现这种错误.较为简单的方式是把建表语句中的char类型改为varchar类型就可以.
Phoenix(sql on hbase)简单介绍 介绍: Phoenix is a SQL skin over HBase delivered as a client-embedded JDBC driver targeting low latency queries over HBase data. Phoenix takes your SQL query, compiles it into a series of HBase scans, and orchestrates the runn
hbase启动慢 hbase启动非常慢,要几个小时,查看日志,发现有如下异常信息: 2016-12-02 22:39:09,365 ERROR [RS_LOG_REPLAY_OPS-db-dn001:60020-1] wal.HLogFactory : Can't open after 24 attempts and 310206ms for hdfs://mycluster/hbase/WALs/db-dn 003.inc.mtime.com,60020,1480536673700-split