phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrish86 <...@git.apache.org>
Subject [GitHub] phoenix pull request: Phoenix-180
Date Thu, 04 Sep 2014 08:58:10 GMT
Github user ramkrish86 commented on the pull request:

    https://github.com/apache/phoenix/pull/11#issuecomment-54434740
  
    
        HTablePool pool = new HTablePool (env.getConfiguration(),1);
            try {
                HTableInterface hTable = pool.getTable(PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME);
                try {
                    ResultScanner scanner = hTable.getScanner(scan);
                    try {
                        Result result = scanner.next();
                        return result != null;
                    }
                    finally {
                        scanner.close();
                    }
                } finally {
                    hTable.close();
                }
            } finally {
                pool.close();
            }
    
    All the testcases are hanging in this place when we do htable.getscanner().


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message