cloudera的cdh是一个方便的工具,其中的hue号称是hadoop UI,提供了强大的图形操作界面,是一个非常好用的工具。下面介绍如何配置jdbc来进行数据的采集。

Installing the JDBC Drivers

Sqoop 2 does not ship with third party JDBC drivers. You must download them separately and save them to the /var/lib/sqoop2

/ directory. The following sections show how to install the most common JDBC Drivers.

Installing the MySQL JDBC Driver

Download the MySQL JDBC driver from http://www.mysql.com/downloads/connector/j/5.1.html. You will need to sign up for an account if you don't already have one, and log in, before you can download it. Then copy it to the /var/lib/sqoop2

directory. For example:

$ sudo cp mysql-connector-java-version

/mysql-connector-java-version

-bin.jar /var/lib/sqoop2/

Note: At the time of publication, version

was 5.1.25

, but the version may have changed by the time you read this.

Installing the Oracle JDBC Driver

You can download the JDBC Driver from the Oracle website, for example http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html. You must accept the license agreement before you can download the driver. Download the ojdbc6.jar

file and copy it to /var/lib/sqoop2/

directory:

$ sudo cp ojdbc6.jar /var/lib/sqoop2/

Installing the Microsoft SQL Server JDBC Driver

Installing the PostgreSQL JDBC Driver

Download the PostgreSQL JDBC driver from http://jdbc.postgresql.org/download.html and copy it to the /var/lib/sqoop2/

directory. For example:

$ curl -L 'http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar' -o postgresql-9.2-1002.jdbc4.jar$ sudo cp postgresql-9.2-1002.jdbc4.jar /var/lib/sqoop2/

hue 添加jar_在hue下配置jdbc驱动相关推荐

  1. idea 连接云mysql_IDEA开发环境下配置JDBC连接MySQL

    一.MySQL数据库下载并安装 主要参考的是这篇文章 Blessy_Zhu的博客_CSDN博客-Python基础,机器学习,Python爬虫领域博主​blog.csdn.net 二.JDBC下载 链接 ...

  2. 在MSM8909 Android下配置CS1237驱动,读取PT100温度传感器

    前言 上面一个文章配置了普通的GPIO口.然后根据在单片机的经验,尝试配置CS1237驱动. CS1237是一款高精度.低功耗模数转换芯片,一路差分输入通道,内置温度传感器和高精度振荡器.通过 2线S ...

  3. aliyun maven 添加jar_阿里云Maven配置,Maven仓库配置,Maven镜像配置

    阿里云Maven配置,Maven仓库配置,Maven镜像配置 ======================== 蕃薯耀 2018-01-23 http://fanshuyao.iteye.com/ 一 ...

  4. 红旗linux无线网卡驱动,红旗Linux下配置无线网卡(驱动安装/wep sid设置)[图文]

    下载了一个红旗Linux 6.0 SP1的iso光盘镜像,准备安装一个学习下. 下载的很成功.刻录的很成功.安装的也很成功,但是安装了以后,不能使用无线上网.在笔记本普遍配置无线网卡的情况下,Linu ...

  5. Hue添加RDBMS(关系型数据库)

    Hue添加RDBMS方式 Hue界面没有Mysql添加方式,需要修改配置 切换至Hue3界面,找一下 3.发现有添加方式 4.点进去发现,说要再配置文件中添加 5.经查阅资料发现,需要在hue的配置中 ...

  6. Hue创建oozie workflow调度,Hue创建workflow,HUE配置邮件告警

    1.配置sqoop驱动 注:配置此驱动,解决在workflow中sqoop无法找到mysql驱动报错 (1)上传mysql-connector-xxx.jar cp mysql-connector-j ...

  7. idea如何给oracle添加数据_intelij idea下使用java和JDBC连接oracle数据库及简单的SQL操作...

    intelij idea下使用java和JDBC连接oracle数据库及简单的SQL操作 发布时间:2018-07-04 10:09, 浏览次数:2532 , 标签: intelij idea jav ...

  8. deepinv2 添加打印机_在Deepin系统下配置连接Windows的共享打印机

    本文介绍在Deepin系统下配置连接Windows共享打印机的方法.如果需要几台电脑需要公用同一台打印机时,这种方法非常有用.我们在宿舍开了一个打印店,电脑都同时接入打印机的话,就非常的方便. 下面是 ...

  9. linux添加ipv6静态路由命令,Debian下配置IPV6和静态路由

    一.编辑网卡文件 vi /etc/network/interfaces 二.修改网卡文件# This file describes the network interfaces available o ...

最新文章

  1. WMI技术介绍和应用——查询系统信息和补丁包信息
  2. tcpip卷一二三区别_八年级物理期末试卷(内附初三期末卷)
  3. Android异步消息处理机制
  4. 电阻参数_压敏电阻原理、参数、选型
  5. 网页设计精粹:网页中那些迷人的按钮设计
  6. skywalking 安装_如何使用skywalking 进行全链路监控
  7. 秋叶一键重装系统连接服务器失败,如何解决远程桌面无法连接
  8. Android Studio and Gradle are using different locations for the JDK
  9. 使用C#开发纽曼USB来电小秘书客户端小结
  10. vim python3开发环境_[宜配屋]听图阁 - ubuntu16.04制作vim和python3的开发环境
  11. Java -- 新IO -- 目录
  12. linux安装 soapui_SoapUI命令行方式运行
  13. 服务器gpu芯片排行,GPU云服务器排行榜
  14. Python系列20-Web应用程序-用户账户
  15. 免费开源PHP商城系统介绍
  16. 互联网晚报 | 1月3日 星期一 | 春运首日火车票今日开售;中兴终端2021年出货量超1亿部;抖音上线“学习”频道...
  17. 好用的提高生产力的Firefox插件LeechBlock
  18. 搜索局域网内电脑共享文件的方法
  19. 孙悟空的成长历程想到的
  20. 下载excel表格后缀名为.do形式

热门文章

  1. fsetpos() fgetpos()详解
  2. WinForm 2.0 textBox作为参数的查询,显示在DataGridView
  3. c# 在DataTable的第一列(指定列)的前面添加一列
  4. Java List.size()方法:返回列表中元素的个数(亲测)
  5. LINUX设置固定IP上网方法
  6. 可以改善mysql性能的InnoDB配置参数
  7. Vue与jQuery的区别:数据绑定
  8. MySQL之innodb与myisam:锁 事务 外键 主键 存储结构 存储大小 索引 count 注重点
  9. Redis之CentOS7安装配置Redis
  10. PHP的引用传值值传递