随笔分类 -  自用

摘要:RandomAccessFile randomAccessFile = new RandomAccessFile("C:\\Users\\Administrator\\Desktop\\test.pdf","r"); int point = 0;//最开始 long last = 0;//最后 lo 阅读全文
posted @ 2024-11-10 02:25 基础狗 阅读(8) 评论(0) 推荐(0)
摘要:byte[] buffer = new byte[1024 * 1024];//缓冲区 BufferedOutputStream bufferedOutputStream = new BufferedOutputStream( new FileOutputStream( new File() ) ) 阅读全文
posted @ 2024-11-10 02:19 基础狗 阅读(17) 评论(0) 推荐(0)
摘要:File file = new File(); FileInputStream fileInputStream = new FileInputStream(file); InputStreamReader inputStreamReader = new InputStreamReader(fileI 阅读全文
posted @ 2024-11-09 23:19 基础狗 阅读(28) 评论(0) 推荐(0)
摘要:package FirstSample; public class FirstSample { public static void main(String[] args) { System.out.println("We will not use 'Hello, World!'"); } } 上述 阅读全文
posted @ 2024-10-28 09:37 基础狗 阅读(27) 评论(0) 推荐(0)
摘要:集群版本 hadoop-3.4.0 hive-3.1.3 zookeeper-3.9.2 hbase-2.6.0(1.0.0以上需要zookeeper-3.4.0以上) spark-3.5.3(只能选2.13.0) scala-2.13.0(jdk8仅支持x.x.0系) 总结一下:JDK8和scal 阅读全文
posted @ 2024-10-07 19:49 基础狗 阅读(268) 评论(0) 推荐(0)
摘要:1.在官网下载zip格式的压缩包(后面会说为什么不下载msi格式的安装包) 2.解压 3.配置环境变量,可以搬运自动配置JDK环境变量的批处理文件 点击查看代码 @echo off %1 mshta vbscript:CreateObject("Shell.Application").ShellEx 阅读全文
posted @ 2024-10-01 04:00 基础狗 阅读(31) 评论(0) 推荐(0)
摘要:PowerShell-7.4.5-win-x64 下载并安装 https://github.com/PowerShell/PowerShell/releases Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe.Appx 下载: http 阅读全文
posted @ 2024-09-25 01:20 基础狗 阅读(242) 评论(0) 推荐(0)
摘要:点击查看代码 [root@master ~]# tar zxf hbase-2.6.0 [root@master ~]# cd hbase-2.6.0/conf [root@master conf]# cd hbase-2.6.0/conf [root@master conf]# cp hbase- 阅读全文
posted @ 2024-05-26 20:46 基础狗 阅读(61) 评论(0) 推荐(0)
摘要:点击查看代码 Xshell 7 (Build 0151) Copyright (c) 2020 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt. [C:\~]$ C 阅读全文
posted @ 2024-05-26 20:45 基础狗 阅读(198) 评论(0) 推荐(0)
摘要:![](https://img2024.cnblogs.com/blog/3246720/202405/3246720-20240510094500242-1516106843.jpg) ![](https://img2024.cnblogs.com/blog/3246720/202405/3246720-20240510094540450-1304986719.jpg) ![](https:// 阅读全文
posted @ 2024-05-10 09:46 基础狗 阅读(307) 评论(0) 推荐(0)
摘要:!国内可以直接访问 ?似乎可以免费在线阅读 机翻(谷歌翻译)有些让人迷,比如: 阅读全文
posted @ 2024-05-10 06:40 基础狗 阅读(23) 评论(0) 推荐(0)
摘要:点击查看代码 <-- 跳过了一些错误信息,省略部分重复内容 --> [root@master ~]# hive which: no hbase in (/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/jd 阅读全文
posted @ 2024-05-01 21:47 基础狗 阅读(30) 评论(0) 推荐(0)
摘要:master vi /etc/ntp.conf 点击查看代码 [root@master hadoop]# vim /etc/ntp.conf ...前文省略.. # Hosts on local network are less restricted. restrict 192.168.10.0 m 阅读全文
posted @ 2024-05-01 21:24 基础狗 阅读(54) 评论(0) 推荐(0)
摘要:![](https://img2024.cnblogs.com/blog/3246720/202405/3246720-20240501190225059-1743237779.jpg) ![](https://img2024.cnblogs.com/blog/3246720/202405/3246720-20240501190240702-997844771.jpg) 阅读全文
posted @ 2024-05-01 19:03 基础狗 阅读(21) 评论(0) 推荐(0)
摘要:新建逻辑分区,识别逻辑分区,创建物理分区,扩展卷组,扩展目标分区。 点击查看代码 <-- 删除了一些错误书写 --> [root@master ~]# fdisk -l 磁盘 /dev/sda:53.7 GB, 53687091200 字节,104857600 个扇区 Units = 扇区 of 1 阅读全文
posted @ 2024-05-01 12:15 基础狗 阅读(172) 评论(0) 推荐(0)
摘要:安装JDK、安装MySQL、搭建Hadoop集群、设置ssh免密、启用MySQL远程登录、下载Hive clone2作为MySQL服务器开启远程登录,在这之前配置ssh免密,再之前关闭hive服务器和MySQL服务器的防火墙。 初始化hive前,启动hive客户端、hive服务器端、MySQL服务器 阅读全文
posted @ 2024-05-01 00:58 基础狗 阅读(50) 评论(0) 推荐(0)
摘要:点击查看代码 [root@clone2 ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server 阅读全文
posted @ 2024-04-30 22:04 基础狗 阅读(71) 评论(0) 推荐(0)
摘要:C:\Windows\System32\drivers\etc\hosts 阅读全文
posted @ 2024-04-09 10:40 基础狗 阅读(34) 评论(0) 推荐(0)
摘要:hadoop官方下载地址https://hadoop.apache.org/releases.html 用到的命令/root/hadoop-3.4.0/bin/hdfs namenode -format ,start-all.sh, stop-all.sh 1.三台虚拟机分别设置静态ip 2.设置免 阅读全文
posted @ 2024-04-09 10:35 基础狗 阅读(124) 评论(0) 推荐(0)