上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页
摘要: 1. create JS object (1) var myCar = new Object(); myCar.make = 'Ford'; myCar.model = 'Mustang'; myCar.year = 1969; console.log(myCar.make) // terminal 阅读全文
posted @ 2021-11-07 01:27 PEAR2020 阅读(68) 评论(2) 推荐(0)
摘要: cs 中 1. 添加 icon 选择图片并转换成ico格式:https://convertio.co/zh/download/8441dcb3979589069571b8c7295903474957c6/ 然后右键属性中添加icon 2. Regex的replace方法替换,实现首字母大写 priv 阅读全文
posted @ 2021-09-21 17:51 PEAR2020 阅读(126) 评论(0) 推荐(0)
摘要: <Java> 1、pom <dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>3.1.1</version> </dependen 阅读全文
posted @ 2021-01-04 15:34 PEAR2020 阅读(174) 评论(4) 推荐(0)
摘要: rpm -qa|grep cassandra >>>cassandra-3.11.9-1.noarch rpm -ql cassandra-3.11.9-1.noarch 阅读全文
posted @ 2020-12-31 16:13 PEAR2020 阅读(403) 评论(0) 推荐(0)
摘要: 关于联合索引是否能起作用?使用where一定要带上主索引a!!!!否则不生效!!!! create keyspace patient with replication = {'class':'SimpleStrategy','replication_factor: 1'} create table 阅读全文
posted @ 2020-12-31 13:38 PEAR2020 阅读(79) 评论(0) 推荐(0)
摘要: 快速git配置和git clone git config --global user.name "wenyan" git config --global user.email "sabertobihwy@gmail.com" git config --global --list ssh-keygen 阅读全文
posted @ 2020-12-31 08:44 PEAR2020 阅读(295) 评论(0) 推荐(0)
摘要: 详见:https://www.cnblogs.com/itboys/p/9347403.html 1)如果使用spark.sql("") => 内部调用hive处理,只能使用spark.udf.register("",) 例如: import org.apache.spark.sql.functio 阅读全文
posted @ 2020-12-27 21:25 PEAR2020 阅读(1044) 评论(0) 推荐(0)
摘要: 步骤按照:https://www.it610.com/article/1292557527262765056.htm 在原hive中: 1)如果文件小: export table dm_events.dm_usereventfinal to '/tmp/hive-export/dm' 2)如果文件大 阅读全文
posted @ 2020-12-24 17:43 PEAR2020 阅读(639) 评论(0) 推荐(0)
摘要: 一、下载包 settings -> interpreter -> + joblib 存取模型 + matplotlib + numpy + pyspark + scikit-learn 二 、先确定pyCharm能用spark.sql连接hive成功 见 https://www.cnblogs.co 阅读全文
posted @ 2020-12-24 14:38 PEAR2020 阅读(581) 评论(0) 推荐(0)
摘要: 可参考 https://blog.csdn.net/m0_46651978/article/details/111618085#comments_14329527 一、首先,linux上 单节点方法 1. 先把spark stop了:sbin/stop-all.sh2. 把hive里面的hive-s 阅读全文
posted @ 2020-12-24 12:38 PEAR2020 阅读(1183) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页