会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
{hunter}ZY
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
25
下一页
2021年9月21日
9.21
摘要: response重定向。 Response对象 * 功能:设置响应消息 1. 设置响应行 1. 格式:HTTP/1.1 200 ok 2. 设置状态码:setStatus(int sc) 2. 设置响应头:setHeader(String name, String value) 3. 设置响应体:
阅读全文
posted @ 2021-09-21 21:13 {hunter}ZY
阅读(104)
评论(0)
推荐(0)
2021年9月20日
Hive报错"Expression not in GROUP BY key"的解决方案
摘要: Hive报错"Expression not in GROUP BY key"的解决方案 hive写查询语句时如果需要分组,且有些查询的列不需要变化,那么直接写会报错,需要写成collect_set("列名")[0] as "列名" 例如SELECT id, latitude, longitude F
阅读全文
posted @ 2021-09-20 20:28 {hunter}ZY
阅读(2390)
评论(0)
推荐(0)
2021年9月18日
9.18
摘要: hive数据类型 Hive 数据类型 Java 数据类型 长度 例子 TINYINT byte 1byte 有符号整数 20 SMALINT short 2byte 有符号整数 20 INT int 4byte 有符号整数 20 BIGINT long 8byte 有符号整数 20 BOOLEAN
阅读全文
posted @ 2021-09-18 19:55 {hunter}ZY
阅读(80)
评论(0)
推荐(0)
2021年9月17日
9.17
摘要: hive常用交互命令 [atguigu@hadoop102 hive]$ bin/hive -help usage: hive -d,--define <key=value> Variable subsitution to apply to hive commands. e.g. -d A=B or
阅读全文
posted @ 2021-09-17 20:53 {hunter}ZY
阅读(54)
评论(0)
推荐(0)
2021年9月16日
9.16
摘要: Map Reduce概述 1、InputFormat 1)默认的是TextInputformat kv key偏移量,v :一行内容 2)处理小文件CombineTextInputFormat 把多个文件合并到一起统一切片 2、Mapper setup()初始化; map()用户的业务逻辑; cle
阅读全文
posted @ 2021-09-16 20:15 {hunter}ZY
阅读(83)
评论(0)
推荐(0)
2021年9月15日
9.15
摘要: jar包在Linux环境运行 hadoop jar jar包相对路径 运行的main类 main的参数
阅读全文
posted @ 2021-09-15 19:16 {hunter}ZY
阅读(55)
评论(0)
推荐(0)
2021年9月13日
HDFS JavaAPI操作代码
摘要: import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.*;import org.junit.After;import org.junit.Before;import org.junit.Test; import
阅读全文
posted @ 2021-09-13 20:11 {hunter}ZY
阅读(93)
评论(0)
推荐(0)
2021年9月12日
9.12
摘要: 运行hdfs导入的依赖 <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>3.1.3</version> </dependency> <dependenc
阅读全文
posted @ 2021-09-12 20:51 {hunter}ZY
阅读(103)
评论(0)
推荐(0)
2021年9月10日
Hadoop1
摘要: 安装 epel-release :(Extra Packages for Enterprise Linux 是为“红帽系”的操作系统提供额外的软件包,适用于 RHEL、CentOS 和 Scientific Linux。相当于是一个软件仓库,大多数 rpm 包在官方repository 中是找不到的
阅读全文
posted @ 2021-09-10 22:25 {hunter}ZY
阅读(57)
评论(0)
推荐(0)
2021年7月18日
hadoop错误: 找不到或无法加载主类 org.apache.hadoop.mapreduce.v2.app.MRAppMaster
摘要: 在命令行下输入hadoop classpath,复制返回的内容,然后在yarn-site.xml(/opt/module/hadoop-3.1.3/etc/hadoop)的<configuration>下加上 <property> <name>yarn.application.classpath</
阅读全文
posted @ 2021-07-18 11:55 {hunter}ZY
阅读(1251)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
25
下一页
公告