会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
顿学累功
博客园
首页
新随笔
联系
订阅
管理
2023年4月6日
Vue使用
摘要: 1、循环遍历数组 for (let i = 0, len = list.length; i < len; i++) { const item = list[i] item.style = { ...commonStyle, ...item.style } list[i] = { ...commonA
阅读全文
posted @ 2023-04-06 13:23 顿学累功
阅读(43)
评论(0)
推荐(0)
2023年3月16日
Verdacooi的依赖包上传
摘要: 参考:https://blog.csdn.net/cui_yuanqing/article/details/105379118
阅读全文
posted @ 2023-03-16 17:04 顿学累功
阅读(14)
评论(0)
推荐(0)
docker搭建Verdacooi私服
摘要: 参考:https://blog.csdn.net/cui_yuanqing/article/details/105379118
阅读全文
posted @ 2023-03-16 17:03 顿学累功
阅读(13)
评论(0)
推荐(0)
2023年3月15日
npm包离线安装
摘要: 参考:https://www.cnblogs.com/machangwei-8/p/17147573.html
阅读全文
posted @ 2023-03-15 18:50 顿学累功
阅读(21)
评论(0)
推荐(0)
npm上传verdaccio报错:error: one of the uplinks is down, refuse to publish
摘要: 问题场景verdaccio搭建本地npm私库后,上传包到私库报错:http <-- 503, user: xx, req: ‘PUT /helloworld’, error: one of the uplinks is down, refuse to publish 解决办法在verdaccio启动
阅读全文
posted @ 2023-03-15 18:49 顿学累功
阅读(1903)
评论(0)
推荐(0)
2022年12月5日
CentOS9新建swap分区
摘要: dd if=/dev/zero of=/home/swap bs=4096 count=4096000 /sbin/mkswap /home/swap /sbin/swapon /home/swap vi /etc/fstab 末尾添加“/home/swap swap swap default 0
阅读全文
posted @ 2022-12-05 09:50 顿学累功
阅读(106)
评论(0)
推荐(0)
2022年7月17日
如何实现多个后端共用一个前端? 转载
摘要: 现在微服务化盛行,但是微服务并不意味着多个前端,而比较好的实践是:多个微服务后端共用一个前端。 怎么实现多个微服务后端共用一个前端,统一提供服务呢? React可以实现,通过代理,把不同的url导向不同的微服务。 //package.json中加入//some scripts, "proxy": {
阅读全文
posted @ 2022-07-17 17:15 顿学累功
阅读(926)
评论(0)
推荐(0)
2022年7月14日
项目编译与构建
摘要: 1、CMake 2、Bazel
阅读全文
posted @ 2022-07-14 17:54 顿学累功
阅读(32)
评论(0)
推荐(0)
2020年3月31日
Spark 共享变量之——Accumulator(累加器)
摘要: 一、简介 为了方便的统计和管理一些共同信息,Spark中定义了两种共享变量——Broadcast(广播变量)和 Accumulator(累加器),可以方便的把一些变量或数据共享给集群各个节点,今天来看看Accumulator。 Accumulator是由Driver端总体维护的,读取当前值也是在Dr
阅读全文
posted @ 2020-03-31 17:46 顿学累功
阅读(1347)
评论(0)
推荐(0)
AccumulatorV2不生效的问题排查
摘要: 在Spark作业中使用AccumulatorV2自定义了一个字符串累加器,但是累加器在作业执行中不生效。 问题可能原因: 1、累加器本身定义的有问题; 2、Spark作业执行流程的原因; 问题排查情况: 1、通过一个自定义累加器类单测,只能证明了累加器自身类定义的正确性,但还不能证明累加器进入Spa
阅读全文
posted @ 2020-03-31 16:27 顿学累功
阅读(289)
评论(0)
推荐(0)
下一页
公告