You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:27 UTC

[jira] [Created] (TRAFODION-584) LP Bug: 1361491 - sqstart extremely slow with 8/23 daily build, seems issue is related to creating HBase tables for TLOG

Alice Chen created TRAFODION-584:
------------------------------------

             Summary: LP Bug: 1361491 - sqstart extremely slow with 8/23 daily build, seems issue is related to creating HBase tables for TLOG
                 Key: TRAFODION-584
                 URL: https://issues.apache.org/jira/browse/TRAFODION-584
             Project: Apache Trafodion
          Issue Type: Bug
          Components: dtm
            Reporter: Aruna Sadashiva
            Assignee: Sean Broeder
            Priority: Critical
             Fix For: 0.9 (pre-incubation)


WIth the 8/23 build sqstart  takes a long long time, but eventually completes.

Input from John DeRoo:

The problem is related to creating the HTables for TLOG.  From the jstack I see:

"main" prio=10 tid=0x00000000011ce800 nid=0x63c0 waiting on condition [0x00007fff8386e000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:459)
        at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:348)
        at org.trafodion.dtm.TmAuditTlog.<init>(TmAuditTlog.java:400)
        at org.trafodion.dtm.HBaseTxClient.init(HBaseTxClient.java:253)

I pulled down a copy of the code from the HEAD and the problem is in the TmAuditTlog constructor, according to my copy this looks like:

        try {
            LOG.debug("Creating the table " + lv_tLogName);
400      admin.createTable(desc);
            asn.set(1L);  // TLOG didn't exist previously, so start asn at 1
         }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)