摘要: 1. Introduction to HDFS 1.1. HDFS Concepts 1.1.1. Blocks l HDFS too has the concept of a block, but it is a much larger unit 64 MB by default. l Like in a filesystem for a single disk, files in HDFS are broken into block-sized chunks, which are stored as independent units. l Unlike a filesystem for. 阅读全文
posted @ 2010-02-27 23:01 刘超觉先 阅读(5444) 评论(0) 推荐(3) 编辑
摘要: 问题1. public static void append(String str){ str += " Append!"; } public static void append(StringBuffer sBuffer){ sBuffer.append(" Append!"); } public void test(){ String str = "Nothing"; append(str); System.out.println(str); StringBuffer sBuffer = new StringBuffer(&quo 阅读全文
posted @ 2010-02-27 15:47 刘超觉先 阅读(1556) 评论(1) 推荐(1) 编辑