[security] Added pagination support for HDFS