public void NameNodeSerial() {
        File file = new File("namenode.out");
        ObjectOutputStream oout = null;
        try {
			oout = new ObjectOutputStream(new FileOutputStream(file));
			oout.writeObject(namenode);
	        oout.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}