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:
parent
ceba0659f0
commit
e949f0c6b0
|
@ -664,7 +664,7 @@ public class ZKUtil {
|
|||
return node;
|
||||
}
|
||||
public boolean isEmpty() {
|
||||
return (data.length == 0);
|
||||
return (data == null || data.length == 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue