一.刚装上hive在执行hive启动的过程中出现 [hadoop@localhost hive-0.6.0]$ hive Invalid maximum heap size: -Xmx4096m The specified size exceeds the maximum representable size. Could not create the Java virtual machine. 解决方法: 修改$HIVE_INSTALL/bin/ext/util/execHiveCmd.sh…
总结:掌握流.缓冲区类的方法 package com.b; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; public class Mark { public static void main(String[] args) throws Exception { Stream st = new Stream("log.txt"); } } class Stream { publ…