12 2021 档案

rabbitMQ queue属性
摘要:Map<String, Object> args = new HashMap<String, Object>(); args.put("x-message-ttl", 60000); channel.queueDeclare("myqueue", false, false, false, args) 阅读全文

posted @ 2021-12-17 09:53 龙&缘 阅读(74) 评论(0) 推荐(0) 编辑

sqoop mysql2hive
摘要:a./etc/profile添加export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$HIVE_HOME/lib/*b.将hive-site.xml 拷贝到 $SQOOP_HOME/conf目录下(否则报错找不到hive库) --connect #关系型数据库连接 - 阅读全文

posted @ 2021-12-16 15:31 龙&缘 阅读(127) 评论(0) 推荐(0) 编辑

sqoop,hive2mysql
摘要:sqoop export \ --connect jdbc:mysql://master:3306/testdb \ --username hive \ --password 123456 \ --table olympic_data \ --export-dir /user/hive/wareho 阅读全文

posted @ 2021-12-16 11:11 龙&缘 阅读(42) 评论(0) 推荐(0) 编辑

guava冲突导致的报错
摘要:Exception in thread "main" java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoo 阅读全文

posted @ 2021-12-16 10:32 龙&缘 阅读(365) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示