Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/6#discussion_r15501287
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
@@ -559,6 +623,64 @@ private String getFullTableName(TableRef dataTableRef)
{
}
/**
+ * Rebuild indexes from a certain timestamp which is the value from
hbase row key.
+ */
+ public void buildPartialIndexFromTimeStamp(PTable index, TableRef
dataTableRef,
+ long lowerBoundTimeStamp) throws SQLException {
+ buildIndex(index, dataTableRef, lowerBoundTimeStamp);
+ }
+
+ /**
+ * This function checks if all regions of a table is online
+ * @param table
+ * @return true when all regions of a table are online
+ * @throws IOException
+ * @throws
+ */
+ public static boolean tableRegionsOnline(Configuration conf, PTable
table) {
--- End diff --
Probably a better home would be MetaDataUtil as this doesn't have anything
to do with MetaDataClient
---
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 [email protected] or file a JIRA ticket
with INFRA.
---