摘要: HIve view 查询出错 创建/user/admin su hdfs hdfs dfs -mkdir /user/admin hdfs dfs -chown admin:hdfs /user/admin 创建数据库DS_JOBIMPL_11/6 CREATE TABLE DS_JOBIMPL_1 阅读全文
posted @ 2020-09-10 10:18 JunCode 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 博客背景鼠标点线窝巢特效 github 地址 https://github.com/hustcc/canvas-nest.js bootCDN https://cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.js 阅读全文
posted @ 2020-09-09 17:33 JunCode 阅读(419) 评论(2) 推荐(1) 编辑
摘要: 序言 一般微信公众号文章里面的音乐是没有下载按钮的,如果我们需要下载该怎么办呢? 下面是完整的音乐链接和解析下载步骤 微信公众号文章链接: https://mp.weixin.qq.com/s?__biz=MzA5NTg0MzMyNg==&mid=2652963841&idx=4&sn=08b730 阅读全文
posted @ 2020-09-08 16:49 JunCode 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 简介 Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系 阅读全文
posted @ 2020-09-08 16:20 JunCode 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 数据导出 hbase 的数据导出的时候,可以导出到Hdfs,或者本地文件系统。默认导出到HDFS 导出到HDFS hbase org.apache.hadoop.hbase.mapreduct.Export tablename hdfs:///exportpath 导出到本地文件系统 hbase o 阅读全文
posted @ 2020-09-07 17:04 JunCode 阅读(841) 评论(0) 推荐(0) 编辑
摘要: scala 中使用SimpleDateFormat对时间进行格式化 阅读全文
posted @ 2020-09-04 10:06 JunCode 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 日期运算 加上一天 ➜ ~ date 2020年 09月 03日 星期四 17:18:23 CST ➜ ~ date -d "+1 day" +%Y-%m-%d 2020-09-04 ➜ ~ 指定日期加减 ➜ ~ date -d "2020-09-10 -1 day " +%Y-%m-%d 2020 阅读全文
posted @ 2020-09-03 17:19 JunCode 阅读(2920) 评论(0) 推荐(0) 编辑
摘要: 获取 html 执行js得到整个HTML,这里得到的是纯html文件 html = driver.execute_script("return document.documentElement.outerHTML") 获取完整的网页信息 一般一个网页会包括 html、js、css 图片、Flash动 阅读全文
posted @ 2020-09-03 14:43 JunCode 阅读(5240) 评论(2) 推荐(0) 编辑
摘要: hbase删除数据每次都要传入一的rowkey,然后按行删除数据,所以我们删除一列只需要获取到这一列数据的行号就行了。 from happybase import Connection CLIENT=Connection(host='xxxxxxxx',port=xxxxx) table=CLIEN 阅读全文
posted @ 2020-09-03 14:41 JunCode 阅读(482) 评论(0) 推荐(0) 编辑
摘要: firefox设置selenium无界面 from selenium import webdriver options = webdriver.FirefoxOptions() options.set_headless() driver=webdriver.Firefox(firefox_optio 阅读全文
posted @ 2020-09-02 17:42 JunCode 阅读(244) 评论(0) 推荐(0) 编辑