HDFS side code