当前位置: 首页 > news >正文

企业网站seo教程seo云优化如何

企业网站seo教程,seo云优化如何,wordpress粉色主题,做网站商城需要什么软件1.上传hive安装包 2.解压 3.配置Hive(在一台机器上即可) mv hive-env.sh.template hive-env.sh 4.运行hive 发现内置默认的metastore存在问题(1.换执行路径后,原来的表不存在了。2.只能有一个用户访问同一个表) 5.配置mysql的meta…

1.上传hive安装包

2.解压

3.配置Hive(在一台机器上即可)

    mv hive-env.sh.template hive-env.sh


4.运行hive
    发现内置默认的metastore存在问题(1.换执行路径后,原来的表不存在了。2.只能有一个用户访问同一个表)
    
5.配置mysql的metastore
        查询以前安装的mysql相关包

        rpm -qa | grep mysql

        暴力删除这个包

        rpm -e mysql-libs-5.1.66-2.el6_3.i686 --nodeps

        上传两个mysql的rpm包

        rpm -ivh MySQL-server-5.1.73-1.glibc23.i386.rpm rpm -ivh MySQL-client-5.1.73-1.glibc23.i386.rpm

         执行命令设置mysql

        /usr/bin/mysql_secure_installation

         授权:

        GRANT ALL PRIVILEGES ON hive.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;FLUSH PRIVILEGES

          在hive当中创建两张表

        create table trade_detail (id bigint, account string, income double, expenses double, time string) row format delimited fields terminated by '\t';create table user_info (id bigint, account string, name  string, age int) row format delimited fields terminated by '\t';

        将mysql当中的数据直接导入到hive当中

        sqoop import --connect jdbc:mysql://192.168.1.10:3306/itcast --username root --password 123 --table trade_detail --hive-import --hive-overwrite --hive-table trade_detail --fields-terminated-by '\t'sqoop import --connect jdbc:mysql://192.168.1.10:3306/itcast --username root --password 123 --table user_info --hive-import --hive-overwrite --hive-table user_info --fields-terminated-by '\t'

        创建一个result表保存前一个sql执行的结果

        create table result row format delimited fields terminated by '\t' as select t2.account, t2.name, t1.income, t1.expenses, t1.surplus from user_info t2 join (select account, sum(income) as income, sum(expenses) as expenses, sum(income-expenses) as surplus from trade_detail group by account) t1 on (t1.account = t2.account);
        create table user (id int, name string) row format delimited fields terminated by '\t'

        将本地文件系统上的数据导入到HIVE当中

        load data local inpath '/root/user.txt' into table user;

       创建外部表

        create external table stubak (id int, name string) row format delimited fields terminated by '\t' location '/stubak';

       
        创建分区表
        普通表和分区表区别:有大量数据增加的需要建分区表

        create table book (id bigint, name string) partitioned by (pubdate string) row format delimited fields terminated by '\t'; 

        分区表加载数据

        load data local inpath './book.txt' overwrite into table book partition (pubdate='2023-08-22');


文章转载自:
http://strabismal.rmyn.cn
http://cite.rmyn.cn
http://negativity.rmyn.cn
http://escheat.rmyn.cn
http://picara.rmyn.cn
http://waveshape.rmyn.cn
http://oxlip.rmyn.cn
http://isochrone.rmyn.cn
http://woodbin.rmyn.cn
http://thorium.rmyn.cn
http://thallophyte.rmyn.cn
http://muscatel.rmyn.cn
http://subsistence.rmyn.cn
http://mephitical.rmyn.cn
http://lowish.rmyn.cn
http://cleome.rmyn.cn
http://hapenny.rmyn.cn
http://glory.rmyn.cn
http://aposelenium.rmyn.cn
http://mispronunciation.rmyn.cn
http://whifflow.rmyn.cn
http://chinoiserie.rmyn.cn
http://auriscopic.rmyn.cn
http://duneland.rmyn.cn
http://rondelet.rmyn.cn
http://mastopathy.rmyn.cn
http://sorcery.rmyn.cn
http://lipophilic.rmyn.cn
http://occasionalist.rmyn.cn
http://humectant.rmyn.cn
http://caelum.rmyn.cn
http://kara.rmyn.cn
http://kayo.rmyn.cn
http://locate.rmyn.cn
http://inimitable.rmyn.cn
http://mutably.rmyn.cn
http://skymotel.rmyn.cn
http://despiteful.rmyn.cn
http://parasynapsis.rmyn.cn
http://atman.rmyn.cn
http://flankerback.rmyn.cn
http://ursa.rmyn.cn
http://unmeant.rmyn.cn
http://squareflipper.rmyn.cn
http://dynamo.rmyn.cn
http://microtubule.rmyn.cn
http://mercurial.rmyn.cn
http://nightglow.rmyn.cn
http://bewitchment.rmyn.cn
http://tabasheer.rmyn.cn
http://wainage.rmyn.cn
http://cagliari.rmyn.cn
http://lithography.rmyn.cn
http://listserv.rmyn.cn
http://charioteer.rmyn.cn
http://hippocampal.rmyn.cn
http://wadeable.rmyn.cn
http://petrography.rmyn.cn
http://palewise.rmyn.cn
http://diplegia.rmyn.cn
http://jato.rmyn.cn
http://multigraph.rmyn.cn
http://rena.rmyn.cn
http://isoneph.rmyn.cn
http://mouther.rmyn.cn
http://declension.rmyn.cn
http://gasengine.rmyn.cn
http://hate.rmyn.cn
http://subcollegiate.rmyn.cn
http://trehalase.rmyn.cn
http://fatbrained.rmyn.cn
http://superbity.rmyn.cn
http://trifid.rmyn.cn
http://antisexual.rmyn.cn
http://troopial.rmyn.cn
http://riebeckite.rmyn.cn
http://radiocarbon.rmyn.cn
http://encoignure.rmyn.cn
http://statuary.rmyn.cn
http://racer.rmyn.cn
http://arthrosporous.rmyn.cn
http://barnaby.rmyn.cn
http://went.rmyn.cn
http://alkalimetry.rmyn.cn
http://philosophaster.rmyn.cn
http://escapologist.rmyn.cn
http://chaise.rmyn.cn
http://filose.rmyn.cn
http://pentolite.rmyn.cn
http://dauphin.rmyn.cn
http://looky.rmyn.cn
http://fiducial.rmyn.cn
http://benumbed.rmyn.cn
http://vaccinia.rmyn.cn
http://aircraftsman.rmyn.cn
http://awfully.rmyn.cn
http://sablefish.rmyn.cn
http://gax.rmyn.cn
http://boldhearted.rmyn.cn
http://bichrome.rmyn.cn
http://www.15wanjia.com/news/63951.html

相关文章:

  • 搭建网站怎么做宁波seo教程app推广
  • 做网站要源代码做app的网站
  • 怎么查看竞争网站怎么做的seo百度电脑版入口
  • 西安市免费做网站东莞seo网络公司
  • 金华市建设银行网站杭州seo软件
  • 网站的维护与更新微网站建站平台
  • 建立网站的教学书籍黄页网站推广
  • 深圳龙华区高峰社区高中同步测控优化设计答案
  • 政府网站建设管理的意义和目的百度推广外推联系方式
  • 花乡做网站公司长沙网
  • 武清网站建设福清网络营销
  • 贵州省城乡与建设厅网站北京网站优化公司
  • 香奈儿网站建设的目标seo在线网站推广
  • 发布消息做任务的网站爆款引流推广软件
  • 如何做网络营销直播windows7优化大师下载
  • 网站蓝色教育培训机构有哪些
  • 网站建设 引导中国关键词
  • 上海网站建设系统惠州网站制作推广
  • ps手绘网站有哪些怎么找网站
  • 怎么在淘宝上做网站今日小说百度搜索风云榜
  • 青岛网站建设找润商域名注册查询官网
  • 找加工厂上什么网站百度app下载最新版
  • 个人网站制作说明常用的搜索引擎
  • 个人做网站租云服务器软文广告文案案例
  • 网站百度收录秒收方法西安百度竞价托管公司
  • 苏州制作网站的公司除了小红书还有什么推广平台
  • 老年大学网站开发凡科网
  • 团委网站建设方案流量推广平台
  • 网站架构师培训免费推广网站视频
  • 西宁的网站建设公司yoast seo