阿飞飞飞

学而时习之

导航

随笔分类 -  常见错误

mongodb远程连接出现com.mongodb.MongoSocketOpenException: Exception opening socket的问题
摘要:com.mongodb.MongoSocketOpenException: Exception opening socket??? 远程连接MongoDB出现连接不上的情况如下: Exception in thread "main" com.mongodb.MongoTimeoutException 阅读全文

posted @ 2021-08-19 21:45 阿飞飞飞 阅读(5527) 评论(0) 推荐(0)

python环境下使用pyspark读取hive表
摘要:python环境 导入pyspark.sql 1.linux系统下,spark读取hive表 配置文件: 先将hive-site.xml放入linux spark内的conf内 //hive和linux下的spark连接 将jar包 mysql-connector-java.jar放入linux s 阅读全文

posted @ 2020-12-24 12:26 阿飞飞飞 阅读(5384) 评论(0) 推荐(1)

hive集成hbase——FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask错误的解决办法
摘要:问题:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask 情景:将hbase内建的宽表映射到hive内,出现报错... 版本:使用的是hadoop三大版本中的CDH,hive:hive- 阅读全文

posted @ 2020-11-13 00:43 阿飞飞飞 阅读(2110) 评论(0) 推荐(0)

关于linux下,ls vi等命令失效的解决方法(配置下环境变量出现问题)
摘要:配置完环境变量source之后,linux的ls vi命令均失效,报错如下: 解决方法 1.输入 export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin并进行source 来确保命令暂时使用 export PATH=/usr/bin:/usr 阅读全文

posted @ 2020-10-16 09:07 阿飞飞飞 阅读(1130) 评论(0) 推荐(0)

异常"java.sql.SQLException: The server time zone value 'EDT' is unrecognized or represents more than one time zone."的问题解决方案
摘要:异常:java.sql.SQLException: The server time zone value 'EDT' is unrecognized or represents more than one time zone. You must configure either the server 阅读全文

posted @ 2020-10-10 23:40 阿飞飞飞 阅读(696) 评论(0) 推荐(0)

关于——This is probably not a problem with npm. There is likely additional logging output above.——的解决方法
摘要:在npm的安装时,npm install 出现了This is probably not a problem with npm. There is likely additional logging output above.错误! 如下图: 额外的日志输出错误!!!在网上百度了一般的解决方法,适用 阅读全文

posted @ 2020-08-12 19:44 阿飞飞飞 阅读(10560) 评论(0) 推荐(0)

关于./xxx.sh:No such file or directory 的问题解决
摘要:问题 利用shell脚本启动从机的elasticsearch的时候发现,只有主机启动了,从机未启动,发现shell命令里面,找不到 ./remote.sh文件 解决方法: 由于shell脚本内用的是相对路径,不知道为什么系统未能读取,运用绝对路径重写,最后执行成功! ./remote.sh => s 阅读全文

posted @ 2020-08-11 22:20 阿飞飞飞 阅读(977) 评论(0) 推荐(0)