zoukankan      html  css  js  c++  java
  • 使用Cloudera Manager部署oozie

                使用Cloudera Manager部署oozie

                                          作者:尹正杰

    版权声明:原创作品,谢绝转载!否则将追究法律责任。

    1>.进入CM服务安装向导

    2>.选择要添加的oozie服务

    3>.选择oozie的依赖环境

    4>.为oozie分配角色 

    5>.数据库设置

    mysql> CREATE DATABASE oozie DEFAULT CHARACTER SET = utf8;
    Query OK, 1 row affected (0.04 sec)
    
    mysql> 
    mysql> GRANT ALL PRIVILEGES ON oozie.* TO 'oozie'@'node101.yinzhengjie.org.cn' IDENTIFIED BY 'yinzhengjie' WITH GRANT OPTION;     
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> 
    mysql> FLUSH PRIVILEGES;
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> 
    mysql> quit
    Bye
    [root@node101.yinzhengjie.org.cn ~]# 
    MySQL授权oozie用户的准备工作

    6>.配置oozie的存储路径

    7>.等待oozie服务安装完毕 

    mysql> use oozie
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A
    
    Database changed
    mysql> show tables;
    +------------------------+
    | Tables_in_oozie        |
    +------------------------+
    | BUNDLE_ACTIONS         |
    | BUNDLE_JOBS            |
    | COORD_ACTIONS          |
    | COORD_JOBS             |
    | OOZIE_SYS              |
    | OPENJPA_SEQUENCE_TABLE |
    | SLA_EVENTS             |
    | SLA_REGISTRATION       |
    | SLA_SUMMARY            |
    | VALIDATE_CONN          |
    | WF_ACTIONS             |
    | WF_JOBS                |
    +------------------------+
    12 rows in set (0.00 sec)
    
    mysql>
    配置完成后,我们观察oozie数据库中是存放元数据信息相关表的(说实话,初始化表挺多的,我这里现实有12张表,为随机抽取记账本看了下,都是空表~)

    8>.oozie服务部署成功

    9>.在CM端可以看到oozie服务

     

  • 相关阅读:
    typeof与instanceof
    TCP与UDP的区别
    const、let、var关键字
    基本通用的使用jdbc文件java代码连接数据库
    HTML知识点01
    ADO.NET基础02
    ADO.NET基础03
    数据库语法01
    数据库语法02
    Ubuntu16.4 内核降级
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/10934172.html
Copyright © 2011-2022 走看看