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 dd086bb22f
commit d28f299807

View File

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