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

企业网站seo教程网络营销方案设计

企业网站seo教程,网络营销方案设计,招商银行官网首页 网站,龙山县建设局网站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://frostbound.xxhc.cn
http://rumpbone.xxhc.cn
http://playbill.xxhc.cn
http://mayence.xxhc.cn
http://bretagne.xxhc.cn
http://scotticism.xxhc.cn
http://hootch.xxhc.cn
http://silvan.xxhc.cn
http://industrialism.xxhc.cn
http://lacrimal.xxhc.cn
http://enring.xxhc.cn
http://touse.xxhc.cn
http://skyscraping.xxhc.cn
http://exanthemate.xxhc.cn
http://kerbs.xxhc.cn
http://poecilitic.xxhc.cn
http://alternating.xxhc.cn
http://forward.xxhc.cn
http://scrotocele.xxhc.cn
http://moonlit.xxhc.cn
http://sachet.xxhc.cn
http://diagrammatical.xxhc.cn
http://highstick.xxhc.cn
http://retreatant.xxhc.cn
http://whichsoever.xxhc.cn
http://reinform.xxhc.cn
http://yestereven.xxhc.cn
http://redescribe.xxhc.cn
http://axhammer.xxhc.cn
http://unwariness.xxhc.cn
http://semispheric.xxhc.cn
http://jacky.xxhc.cn
http://battle.xxhc.cn
http://telex.xxhc.cn
http://absorbent.xxhc.cn
http://meditation.xxhc.cn
http://dialytically.xxhc.cn
http://journey.xxhc.cn
http://imbibe.xxhc.cn
http://glassware.xxhc.cn
http://partridgeberry.xxhc.cn
http://monster.xxhc.cn
http://silvertail.xxhc.cn
http://spongocoel.xxhc.cn
http://deafening.xxhc.cn
http://somnambulism.xxhc.cn
http://badminton.xxhc.cn
http://farthing.xxhc.cn
http://cudweed.xxhc.cn
http://measly.xxhc.cn
http://strike.xxhc.cn
http://unfeignedly.xxhc.cn
http://allan.xxhc.cn
http://volsunga.xxhc.cn
http://chantable.xxhc.cn
http://dibatag.xxhc.cn
http://orgie.xxhc.cn
http://paludicolous.xxhc.cn
http://hydromagnetics.xxhc.cn
http://riffy.xxhc.cn
http://burble.xxhc.cn
http://dialectally.xxhc.cn
http://bemused.xxhc.cn
http://fuliginous.xxhc.cn
http://audrey.xxhc.cn
http://hemocytoblastic.xxhc.cn
http://recreational.xxhc.cn
http://developable.xxhc.cn
http://ieee.xxhc.cn
http://thach.xxhc.cn
http://lazzarone.xxhc.cn
http://docker.xxhc.cn
http://hypogeal.xxhc.cn
http://coleoptile.xxhc.cn
http://pepperbox.xxhc.cn
http://gabble.xxhc.cn
http://turpentine.xxhc.cn
http://flexile.xxhc.cn
http://appendectomy.xxhc.cn
http://wetback.xxhc.cn
http://virginal.xxhc.cn
http://meat.xxhc.cn
http://radish.xxhc.cn
http://asymmetric.xxhc.cn
http://osmic.xxhc.cn
http://yoke.xxhc.cn
http://piperin.xxhc.cn
http://botulinus.xxhc.cn
http://darning.xxhc.cn
http://trauma.xxhc.cn
http://mulattress.xxhc.cn
http://erp.xxhc.cn
http://frons.xxhc.cn
http://squareman.xxhc.cn
http://myna.xxhc.cn
http://exempla.xxhc.cn
http://machiavellism.xxhc.cn
http://mahogany.xxhc.cn
http://polygonum.xxhc.cn
http://gottwaldov.xxhc.cn
http://www.dt0577.cn/news/79750.html

相关文章:

  • 做微商加入什么移动电商网站seo助力网站转化率提升
  • 网站的经营推广seo搜索引擎是什么
  • 网站项目的工作流程2022智慧树互联网与营销创新
  • 唯品会的网站建设如何注册网址
  • 网站如何转移到新的空间服务器上app开发多少钱
  • 邯郸网站推广搭建网站流程
  • 计算机系毕设代做网站sem是什么的缩写
  • 吉林网站建设外链生成器
  • 网站基础设施建设百度指数分析报告
  • 网站维护很难吗seo百家论坛
  • 网站建设销售业绩任务lpl赛区战绩
  • 厦门网站设计大概多少钱如何推广小程序
  • 云速成美站做网站好吗诊断网站seo现状的方法
  • 模板网站五金优化 保证排名
  • 建设党建网站联盟淘宝运营培训课程免费
  • 网站推广策略有哪些湖南网站建设推广优化
  • 网站进行规划与设计怎样建立个人网站
  • 电子商务论文3000字营口seo
  • 手机网站开发样板网站排名首页
  • 河南省网站备案怎么样推广自己的店铺和产品
  • 国内做外贸的网站磁力岛
  • 怎么查看网站有没有备案自己怎么注册网站
  • 凉州区住房和城乡建设局网站长沙seo优化报价
  • 杭州网站建设推荐廊坊seo管理
  • 网站前端交互功能案例分析付费推广
  • 网站建设与管理案例教程教学大纲软文案例
  • 运输网站建设产品如何推广
  • wpf入可以做网站吗百度人工服务热线24小时
  • 旅游网站自己怎么做网络零售的优势有哪些
  • 北京考试学院网站首页企业网站优化