05/04/09

05/04/09 星期一 晴

 

今天天气还不错,

还是五四青年节,

还加上三天的调整,

状态蛮可以。

 

USBUPG真的是搞死我了,

痛苦和煎熬有一个星期了,

基本是搞完了,

明天想想怎么更好实现NAME的显示,

和FOCUS的正确就OK了。

 

中午吃饭,

S也去食堂搭伙了,

还蛮有意思的。

 

下午给S做了半天的思想工作,

接触新的东东,

真的是好事,

有机会,

也有挑战,

看个人把握了。

 

推荐一首歌,

蛮好听的,

Lindsay Lohan的“SPEAK”。

 

fighting

 

tony

Warning: /home/sqoop-1.4.5-cdh5.3.6/../hbase does not exist! HBase imports will fail. Please set $HBASE_HOME to the root of your HBase installation. Warning: /home/sqoop-1.4.5-cdh5.3.6/../hcatalog does not exist! HCatalog jobs will fail. Please set $HCAT_HOME to the root of your HCatalog installation. Warning: /home/sqoop-1.4.5-cdh5.3.6/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. Warning: /home/sqoop-1.4.5-cdh5.3.6/../zookeeper does not exist! Accumulo imports will fail. Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation. 25/09/04 23:24:05 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5-cdh5.3.6 25/09/04 23:24:05 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead. 25/09/04 23:24:05 INFO oracle.OraOopManagerFactory: Data Connector for Oracle and Hadoop is disabled. 25/09/04 23:24:05 INFO manager.SqlManager: Using default fetchSize of 1000 25/09/04 23:24:05 INFO tool.CodeGenTool: Beginning code generation 25/09/04 23:24:05 INFO manager.OracleManager: Time zone has been set to GMT 25/09/04 23:24:05 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM APPEND_TEST t WHERE 1=0 25/09/04 23:24:05 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /home/hadoop-2.8.2 Note: /tmp/sqoop-root/compile/6a88a05f1ea3fd8256509275ffd22b72/APPEND_TEST.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 25/09/04 23:24:06 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-root/compile/6a88a05f1ea3fd8256509275ffd22b72/APPEND_TEST.jar 25/09/04 23:24:06 INFO manager.OracleManager: Time zone has been set to GMT 25/09/04 23:24:06 INFO manager.OracleManager: Time zone has been set to GMT 25/09/04 23:24:06 INFO mapreduce.ImportJobBase: Beginning import of APPEND_TEST 25/09/04 23:24:06 INFO Configuration.deprecation: mapred.jar is deprecated. Instead, use mapreduce.job.jar 25/09/04 23:24:06 INFO manager.OracleManager: Time zone has been set to GMT 25/09/04 23:24:06 INFO Configuration.deprecation: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps 25/09/04 23:24:06 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
最新发布
09-06
Sqoop 1.4.5 - cdh5.3.6 运行时出现 HBase、HCatalog、Accumulo、Zookeeper 路径不存在警告以及代码生成和导入过程中的问题,可以通过修改配置文件来解决。具体步骤如下: 1. **重命名配置文件**: ```bash mv sqoop-env-template.sh sqoop-env.sh mv sqoop-site-template.xml sqoop-site.xml ``` 2. **修改 `sqoop-env.sh` 配置文件**: 在 `sqoop-env.sh` 中设置 HBase、HCatalog、Accumulo、Zookeeper 等的路径。示例如下: ```bash # Set path to where hadoop-*-core.jar is available export HADOOP_COMMON_HOME=/path/to/hadoop export HADOOP_MAPRED_HOME=/path/to/hadoop # set the path to where bin/hbase is available export HBASE_HOME=/path/to/hbase # Set the path to where bin/hive is available export HIVE_HOME=/path/to/hive # Set the path for where zookeeper config dir is export ZOOCFGDIR=/path/to/zookeeper # Set the path to where HCatalog is available (if applicable) export HCAT_HOME=/path/to/hcatalog # Set the path to where Accumulo is available (if applicable) export ACCUMULO_HOME=/path/to/accumulo ``` 需要将 `/path/to/hadoop`、`/path/to/hbase`、`/path/to/hive`、`/path/to/zookeeper`、`/path/to/hcatalog`、`/path/to/accumulo` 替换为实际的安装路径。 3. **检查环境变量**: 确保上述设置的环境变量在系统中生效,可以通过以下命令查看: ```bash echo $HBASE_HOME echo $HIVE_HOME echo $ZOOCFGDIR echo $HCAT_HOME echo $ACCUMULO_HOME ``` 4. **处理代码生成和导入过程中的信息和警告**: - 对于代码生成问题,检查 Sqoop 命令的参数是否正确,特别是表名、列名等。 - 对于导入过程中的警告,查看警告信息的具体内容,可能是数据格式、权限等问题。根据具体警告信息进行相应的处理。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值