HBASE-13901 Error while calling watcher on creating and deleting an HBase table

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Ashish Singhi 2015-06-15 11:27:59 -07:00 committed by Andrew Purtell
parent ceba0659f0
commit e949f0c6b0
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ public class ZKUtil {
return node;
}
public boolean isEmpty() {
return (data.length == 0);
return (data == null || data.length == 0);
}
}