报错总结
Over the territory
这个作者很懒,什么都没留下…
展开
-
MongoDB 批量更新/插入 即批量save或批量upsert 遇到的问题和解决方案
MongoDB 批量更新/插入 即批量save或批量upsert 遇到的问题和解决方案批量更新工具完成批量更新整个对象时候,因为没有$set符号导致异常,因此做了反射工具,再遍历字段去调用Update.set(k,v) 的方式去给字段赋值。(排除的字段目前是写死的,后续可以做成可配置)批量更新时,对象有个属性是List< Object > 这个列表内的对象在插入时报错,说无法序列化:java.lang.RuntimeException: json can't serialize t原创 2020-12-09 16:21:08 · 2493 阅读 · 0 评论 -
报错:Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty
输入flume-ng version 启动flume时报错Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty,但似乎已经启动. 这时我们可以去hbase中修改hbase-env.sh文件,把配置注释掉一行#Extra Java CLASSPATH elements. Option...原创 2018-05-22 14:40:32 · 9505 阅读 · 7 评论 -
HIVE删除分区表FAILED: Execution Error, return code 1... MetaException(message:Invalid partition key & val
HIVE删除分区表drop table tbl_name时报错:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Invalid partition key & values; keys [year, month, day, ...原创 2019-01-10 14:44:37 · 3170 阅读 · 0 评论 -
记录查询HIVE表的条目数为0,select* 却可以看到数据的异常
一个现象:SELECT * FROM <tbl_name>是有数据的但是SELECT COUNT(*) FROM <tbl_name>结果为 0原因是字段不匹配。需要检查字段名称或者字段个数。原创 2019-01-10 14:47:46 · 936 阅读 · 0 评论 -
fatal: The current branch master has multiple upstream branches, refusing to puh. git push error!
git push时报错:$ git pushfatal: The current branch master has multiple upstream branches, refusing to puh.措施:输入$ git config remote.origin.push HEAD重新push$ git pushEnumerating objects: 43, done....原创 2019-01-14 15:23:28 · 881 阅读 · 0 评论 -
Git: fatal: The current branch master has multiple upstream branches, refusing to push
git上直接git push报错Git: fatal: The current branch master has multiple upstream branches, refusing to push解决:使用命令git config remote.origin.push HEAD推送成功!原创 2019-02-11 16:58:07 · 1667 阅读 · 0 评论 -
The 'External Type Completiions' proposal computer from the 'org.springsource.ide.eclipse.commons.co
Eclipse 写代码时卡住,报错:“The ‘External Type Completiions’ proposal computer from the ‘org.springsource.ide.eclipse.commons.completions’ plug-in did not complete normally. The extension took too long to retu...转载 2019-03-01 11:43:09 · 579 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Parameter 'startTime' not found. Available parameters ar
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'startTime' not found. Available parameters are [0, 1, param1, param2] at org.myba...原创 2019-04-04 11:30:59 · 4438 阅读 · 0 评论