Create table with 128 character-long schema & table names hangs on HortonWorks
Bug #1389791 reported by
Weishiun Tsai
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
High
|
Roberta Marton |
Bug Description
On a HortonWorks cluster, the following statement to create a table with a 128 character-long schema and a 128 character-long table hangs. This statement, however, works fine on a Cloudera cluster. This is seen on the v1104_0830 build installed on a 4-node cluster.
Here is the statement to reproduce it:
create table
trafodion.
(a int) no partition;
tags: |
added: sql-cmu removed: sql-exe |
Changed in trafodion: | |
assignee: | nobody → Roberta Marton (roberta-marton) |
Changed in trafodion: | |
milestone: | none → r1.1 |
To post a comment you must log in.
Just tried this on my development workstation and it also hangs, with this stack trace:
"main" prio=10 tid=0x000000000 0bb2800 nid=0x49c8 waiting on condition [0x00007ffffffe a000] lang.Thread. State: TIMED_WAITING (sleeping) Thread. sleep(Native Method) hadoop. hbase.client. HBaseAdmin. createTable( HBaseAdmin. java:533) hadoop. hbase.client. HBaseAdmin. createTable( HBaseAdmin. java:428) sql.HBaseAccess .HBaseClient. createk( HBaseClient. java:395)
java.
at java.lang.
at org.apache.
at org.apache.
at org.trafodion.
It looks like the region server hangs for such long table names. SeaQuest guaranteed that you could have table names of up to 128 characters. Trafodion has no such guarantee.
The following name worked for me: trafodion. DDL_TAB001_ A013_7_ CAT1_SCH1_ AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAA. Y123456789B1234 56789C123456789 D123456789E1234 56789F123456789 G123456789H1234 56789I123456789
(that's the original name chopped off at the "J".