Hadoop
文章平均质量分 68
凌波泡泡
外向,爱笑,最爱睡觉!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell的时间定义
Year=`date +%Y` echo 'Year='${Year} Month=`date +%m` echo 'Month='${Month} i=${Year}${Month} echo 'i=' ${i} CurrentMonthBeginDate=`date -d "${Year}/${Month}/01" +%Y-%m-%d` echo 'CurrentMonthBeg原创 2015-12-16 14:57:23 · 1682 阅读 · 0 评论 -
zeus之hive基本命令
查看分区信息 show partitions tablename; 查看建表信息 desc tablename; 删除表 drop table if exists tablename; 删除分区 alter table tablename drop if exists partition (year='2015',month='09') 创建表 use tmp原创 2015-12-16 14:42:21 · 1019 阅读 · 0 评论 -
zeus之shell基本命令
输出话术 echo "----------------------------------------" 执行hive命令 hive -e "。。" 定义变量 Year=`date +%Y` echo 'Year='${Year} month=`date +%m` echo 'month='${month} 循环语句 for((i=0;i { } done原创 2015-12-16 14:43:20 · 1600 阅读 · 0 评论
分享