Fix deprecation warnings
Update HBase example to use RandomAccessDataset.