- 博客(3)
- 收藏
- 关注
原创 安装Spark详细流程
安装Spark1、上传并解压,解压后创建一个软连接(1)解压tar -zxvf spark-2.1.0-bin-hadoop2.7.tgz(2)创建软连接ln -s spark-2.1.0-bin-hadoop2.7 spark完成后如图2、将spark中conf下的spark-env.sh.template重命名为spark-env.sh,并在其中加入如下代码export JAVA_HOME= (安装jdk的目录)export SPARK_MASTER_HOST= (主机名
2020-10-29 20:05:46
313
原创 Phoenix查询语句
Phoenix查询语句1、统计字段的平均值select avg(字段名) from 表名;2、统计多个重复数据各有多少个select count(*) from (select 字段名 from表名 group by 字段名);3、查询前n条数据select * from 表名 order by 字段名 desc limit n;(n为任意值)4、重复数据分别计数select count(字段名) from 表名 group by 字段名;5、对某字段创建索引表create index
2020-10-28 21:46:32
2687
原创 关于Phoenix报错:Inconsistent namespace mapping properites的解决方案
关于Phoenix报错:Inconsistent namespace mapping properites的解决方案报错信息如下:Exception in thread "main" java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping properites.. Cannot initiate connection as SYSTEM:CATALOG is found but client does not h
2020-10-28 16:20:56
2956
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人