hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Spurious Instantiation
Date Fri, 15 Apr 2011 12:29:25 GMT
Hi,

>From AssignmentManager.java in trunk:


  boolean setOfflineInZooKeeper(final RegionState state) {
    if (!state.isClosed() && !state.isOffline()) {
        new RuntimeException("Unexpected state trying to OFFLINE; " + state);
      this.master.abort("Unexpected state trying to OFFLINE; " + state,
        new IllegalStateException());
      return false;
    }

That first "new RuntimeException..." is a left over I presume?

Lars

Mime
View raw message