@Override
    public ProcNodeInterface lookup(String dbIdStr) throws AnalysisException {
        long dbId = -1L;
        try {
            dbId = Long.valueOf(dbIdStr);
        } catch (NumberFormatException e) {
            throw new AnalysisException("Invalid db id format: " + dbIdStr);
        }

        if (globalStateMgr.getDb(dbId) == null) {
            throw new AnalysisException("Invalid db id: " + dbIdStr);
        }

        return new IncompleteTabletsProcNode(unhealthyTabletIds.get(dbId),
                inconsistentTabletIds.get(dbId),
                cloningTabletIds.get(dbId),
                errorStateTabletIds.get(dbId));
    }
@Test(expected = AnalysisException.class)
    public void testLookupInvalid() throws AnalysisException {
        new StatisticProcDir(GlobalStateMgr.getCurrentState()).lookup("12345");
    }