在eclipse中,通过maven导入工程后,打开jflow.properties文件后出现注释乱码,如图所示: 解决步骤如下: 步骤1:在eclipse 中点击菜单“window” 步骤2:在window弹出窗体点击“Preferences“ 步骤3:在Preferences窗体选择General ...
分类:
系统相关 时间:
2021-04-21 12:38:23
阅读次数:
0
1:下载地址 http://mirrors.hust.edu.cn/apache/sqoop/1.4.6/ 2:上传压缩包 scp sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz root@hadoop2:/opt/software 3:解压并重命名 tar - ...
分类:
其他好文 时间:
2021-04-21 12:09:16
阅读次数:
0
Now our job as programmers changes from figuring out the rules, to determining the activities, to writing the code that matches the data to the labels ...
分类:
其他好文 时间:
2021-04-20 15:41:14
阅读次数:
0
一、词频统计: 1.读文本文件生成RDD lines lines = sc.textFile('file:///home/hadoop/word.txt') 2.将一行一行的文本分割成单词 words flatmap() words=lines.flatMap(lambda line:line.sp ...
分类:
其他好文 时间:
2021-04-20 15:02:06
阅读次数:
0
Docker Hadoop 配置常见错误及解决办法 问题1:wordcount运行卡住,hadoop 任务运行到running job就卡住了 INFO mapreduce.Job: Running job: job_.... 解决如下: 1. 修改mapred-site.xml配置,配置文件在Ha ...
分类:
其他好文 时间:
2021-04-20 14:54:20
阅读次数:
0
解决问题-》有的放矢 1.spark 报错 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient reso ...
分类:
其他好文 时间:
2021-04-19 15:56:23
阅读次数:
0
Redis基础 NoSQL 学名(not only sql) 特点: 存储结构与MySQL这一种关系型数据库完全不同,NoSQL存储的是key-value形式的数据。 NoSQL有很多产品,都有自己的api和语法,以及业务场景。 产品种类: Mongodb Redis Hbase hadoop No ...
分类:
其他好文 时间:
2021-04-19 14:35:28
阅读次数:
0
一、前期的准备工作 1,JDK、MySQL、eclipse、tomcat、maven的下载安装 2、配置好maven的环境变量 3、配置maven的远程仓库地址 4、配置eclipse里面maven的Installations、user settings 二、项目准备 1、从GIT上download ...
分类:
其他好文 时间:
2021-04-16 12:25:05
阅读次数:
0
1.问题背景 基于docker容器yum install安装的RabbitMQ,这里需要修改RabbitMQ下的相关配置文件,我这里关闭了RabbitMQ。 修改之后重启RabbitMQ,发现Restart不了了,而且还直接抛出了异常~~尴尬! 异常信息: Job for rabbitmq-serv ...
分类:
其他好文 时间:
2021-04-15 12:19:23
阅读次数:
0
hive提取字符串中域名的sql方法 需求如下: 想取如下字段里的访问的域名: "GET http://suo.im/4xhnBL HTTP/1.1" "CONNECT sapi.ads.544.com:443 HTTP/1.1" "GET http://100.110.1.52:8080/job/ ...
分类:
数据库 时间:
2021-04-14 12:16:48
阅读次数:
0