使用sqoop连接oracle 出的异常, Imported Failed: Attempted to generate class with no columns? 附解决方案
来源:互联网 发布:圆形画框软件 编辑:程序博客网 时间:2024/06/06 17:24
集群基本环境:
这个可以参考上一篇日志:http://blog.csdn.net/shatelang/article/details/7668885
在使用sqoop连接oracle时,也就是使用sqoop将oracle数据库中的数据导入到hdfs出的问题:
ERROR tool.ImportTool: Imported Failed: Attempted to generate class with no columns
相应的语句:
./sqoop import --connect jdbc:oracle:thin:@YourOracleIpAdd:1521:orcl --username username --password userpass --table afc_info -m 1
此时的数据库表名小写,
换另外一张表也是
当把上面的语句改为:
./sqoop import --connect jdbc:oracle:thin:@YourOracleIPAddress:1521:orcl --username username --password userpass --table afc_code -m 1 ACAD --password acad123 --table
ACA_CODE -m 1
呵呵,还真通过了
查看hdfs集群:
而服务器上oracle数据库中的数据为:
- 使用sqoop连接oracle 出的异常, Imported Failed: Attempted to generate class with no columns? 附解决方案
- sqoop 导入oracle 报错 Imported Failed : Attempted to generate class with no columns问题解决办法
- Attempted to generate class with no column
- sqoop No columns to generate for ClassWriter
- No columns to generate for ClassWriter---Sqoop工具同步mysql到hive异常
- WebLogic中连接池错误Failed to Generate Wrapper Class的解决方案
- sqoop java.lang.NullPointerException 和 No columns to generate for ClassWriter
- Failed to locate or generate matching signing assets Xcode attempted to locate or generate matching
- Failed to create BuildConfig class的解决方案
- Sqoop ERROR tool.ImportTool: Imported Failed: There is no column found in the target table
- attempted to return null from a method with a primitive return type (int)异常的解决
- Failed to load class org.slf4j.impl.StaticLogger 的解决方案
- Android异常-socket连接失败--connect failed: EHOSTUNREACH (No route to host)
- How to Secure Apache Sqoop Jobs with Oracle Wallet
- HibernateProxy异常处理 java.lang.UnsupportedOperationException: Attempted to serialize java.lang.Class:
- Installation failed with message Failed to establish session解决方案
- linux系统post-commit hook failed (exit code 255) with no output的终极解决方案
- 出现illegally attempted to associate a proxy with two open Sessions异常
- [RTSP][2012-06-16] RTSP OPTIONS
- oracle spatial 创建空间字段索引 创建字段索引 完善SQL语句实例二
- 管理学上的几个经典法则
- [RTSP][2012-06-16] RTSP DESCRIBE & SDP 部分 注释
- ARM与嵌入式linux的入门建议 (六步曲)(转载)
- 使用sqoop连接oracle 出的异常, Imported Failed: Attempted to generate class with no columns? 附解决方案
- 分治法实现大整数乘法
- Hibernate3.3.5的二级缓存
- 自己的计划
- Object与Dictionary的一些细节
- 学习嵌入式系统(ARM)的一些想法(转载)
- [RTSP][2012-06-16] RTSP SETUP
- 大陷阱——CentOS下安装g++
- tomcat 中文 url