第一天 文件IO处理 1.读文件实例 file_split.python f = file('myFile.txt', 'r') for line in f.readlines(): line = line.strip('\n').split(':') print line myFile.txt ## # User Database # # Note that this file is consulted directly only when the system is running #
在使用hive的时候启动成功 [root@localhost bin]# ./hive which: no hbase in (/usr/local/hive/apache-hive-2.1.1-bin/bin:/usr/local/hive/apache-hive-2.1.1-bin/conf:/usr/local/java/jdk1.7.0_79/bin:/home/hadoop/cloud/apache-hive-2.1.1-bin/bin:/home/hadoop/cloud/apach