hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rosemond Wu" <rosemond...@gmail.com>
Subject no syntax check for create table command
Date Thu, 10 Apr 2008 19:35:54 GMT
Hello, all
It looks to me the create table command hasn't done much syntax checking for
input string. Look at below:

hql > create table myTable1(myColumn:language);
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: -31
        at java.lang.String.substring(String.java:1768)
        at
org.apache.hadoop.hbase.hql.BasicCommand.extractErrMsg(BasicCommand.java:64)
        at
org.apache.hadoop.hbase.hql.BasicCommand.extractErrMsg(BasicCommand.java:68)
        at
org.apache.hadoop.hbase.hql.CreateCommand.execute(CreateCommand.java:67)
        at
org.apache.hadoop.hbase.hql.HQLClient.executeQuery(HQLClient.java:50)

at org.apache.hadoop.hbase.Shell.main(Shell.java:114)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message