logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

pymongo.errors.CursorNotFound: cursor id 1598856597812 not found原因以及解决方式

代码日常运行都没问题突然报错如下pymongo.errors.CursorNotFound: cursor id 1598856597812 not found根据异常找到报错位置如下def initMaterialOrgAll(self):materialAndEnterpriseIdList = formmongodbUtil.findAll("form_ins_d0fd94e7-df33-4

#mongodb
An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext.

最近公司上云,所有大数据环境都迁移到云上。在进行项目迁移时候发现运行报错py4j.protocol.Py4JJavaError: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext.: java.lang.NullPointerExceptionat org.apache.spark.Spa

文章图片
sparkstreaming实时接收rabbitmq的数据(包含scala以及pyspark版本)

目录背景1:scala版本2:pyspark版本注意:以下都是采坑点RabbitMQ启用MQTT功能背景平常我们会实时监听kafka的数据,并且与流处理框架比如sparkstreaming和flink进行连接进行消费处理,这一套非常成熟且有官方工具包。但是目前有业务场景需要接收rabbitmq的数据,这就比较麻烦了,因为不想kafka有直接的kafkautils能创建流。在sspark1.6以前的

#rabbitmq#大数据
连接hbase时候连接不上报错Can‘t get the locations(已解决)

Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locationsat org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRe

#大数据
到底了