Skip to content

Commit

Permalink
[pinpoint-apm#562] edit exception condition
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo-jung committed Jun 9, 2015
1 parent 56f892f commit f832284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public HbaseSqlMetaDataCompatibility(HBaseAdminTemplate hBaseAdminTemplate) {
logger.warn("SqlMetaData table exists. Recommend that only use SqlMetaData_Ver2 table.");
}

if(SQL_METADATA_VER2_EXISTED == false && SQL_METADATA_VER2_EXISTED == false) {
if(SQL_METADATA_EXISTED == false && SQL_METADATA_VER2_EXISTED == false) {
throw new RuntimeException("Please check for sqlMetaData_ver2 table in HBase. You Should create 'SqlMetaData_Ver2' table.");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public HbaseSqlMetaDataCompatibility(HBaseAdminTemplate hBaseAdminTemplate) {
logger.warn("SqlMetaData table exists. Recommend that only use SqlMetaData_Ver2 table.");
}

if(hBaseAdminTemplate.tableExists(HBaseTables.SQL_METADATA) == false && SQL_METADATA_VER2_EXISTED == false) {
if(SQL_METADATA_EXISTED == false && SQL_METADATA_VER2_EXISTED == false) {
throw new RuntimeException("Please check for sqlMetaData_ver2 table in HBase. Need to create 'SqlMetaData_Ver2' table.");
}
}
Expand Down

0 comments on commit f832284

Please # to comment.