code前行

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

08 2019 档案

摘要:返回上一步 ctrl + alt + left 代码调试 下一步(不进入方法) F8 代码调试 下一步(进入方法) F7 代码调试直到下一个断点 alt + F9 生成类继承图 ctrl + shift + alt + u 搜索类 ctrl + n 进入实现类 选中方法 ctrl + b 1、第一中 阅读全文
posted @ 2019-08-20 15:47 code前行 阅读(737) 评论(0) 推荐(0)

摘要:HDFS 连接获取时注意事项: 使用 FileSystem.get(Configuration conf) 方式来获取 FileSystem,得到的将是一个单利对象。 该方式默认从缓存中取出一个连接。在多线程环境下可能造成 FileSystem 异常 使用 FileSystem.newInstanc 阅读全文
posted @ 2019-08-16 10:30 code前行 阅读(331) 评论(0) 推荐(0)

摘要:删除文件夹:hdfs dfs -rm -r directory 删除文件: hdfs dfs -rm filepath 更改文件所有者:hdfs dfs -chown -R userName filepath 更改文件所属组:hdfs dfs -chgrp -R groupName filePath 阅读全文
posted @ 2019-08-15 17:24 code前行 阅读(187) 评论(0) 推荐(0)

摘要:--删除字段alter table studentinfo drop column abc; --修改字段类型alter table studentinfo alter column stutel set data type char(11);(颜色标记为,与SQL Server的区别) 增加字段 阅读全文
posted @ 2019-08-08 16:35 code前行 阅读(454) 评论(0) 推荐(0)