Here is the scenario that Vidhyashankar<https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vidhyash> will run into after HBA.createTable() is modified:
HBA.createTable() takes too long to execute. Client receives Socket timeout exception. Client calls HCM.isTableAvailable() which would report inaccurate status. I want to get other developers' opinion on whether HCM.isTableAvailable() should be accurate. Thanks On Fri, Jun 17, 2011 at 5:49 AM, Ted Yu <[email protected]> wrote: > That's my interpretation after reading it again as well. > So I will put HBA.createTable() back to being synchronous again for 3904. > Cheers > On Fri, Jun 17, 2011 at 5:46 AM, Jean-Daniel Cryans <[email protected] > > wrote: > >> I don't want to be thick, but I don't see where in that jira the fact >> that createTable became synchronous was stated as an issue. All I see >> is that it became affected by all the other region in transitions as >> well, which is orthogonal to our discussion. >> >> J-D >> >> On Thu, Jun 16, 2011 at 2:39 PM, Ted Yu <[email protected]> wrote: >> > https://issues.apache.org/jira/browse/HBASE-3744 has been fixed. >> > >> > FYI >> > On Fri, Jun 17, 2011 at 5:32 AM, Jean-Daniel Cryans < >> [email protected]>wrote: >> > >> >> Can you point to the issue where Todd did the revert? >> >> >> >> Thx, >> >> >> >> J-D >> >> >> >> On Thu, Jun 16, 2011 at 2:28 PM, Ted Yu <[email protected]> wrote: >> >> > Hi, >> >> > J-D recently expressed the idea of changing behavior of >> HBA.createTable() >> >> to >> >> > be consistent with its javadoc. >> >> > Meaning, HBA.createTable() should be synchronous. >> >> > >> >> > Todd reported an issue which resulted in reverting my changes that >> caused >> >> > HBA.createTable() to be synchronous. >> >> > >> >> > I want to see if we can reach consensus on how HBASE 3904 should be >> >> handled. >> >> > >> >> > We have 3 options: >> >> > 1. making HBA.createTable() to be synchronous in TRUNK >> >> > 2. pass initial region count in HTD >> >> > 3. add new method in HBA for synchronous table creation >> >> > >> >> > Thanks >> >> > >> >> >> > >> > >
